summaryrefslogtreecommitdiff
path: root/src/node_buffer.h
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2010-07-23 13:52:44 -0700
committerRyan Dahl <ry@tinyclouds.org>2010-07-23 13:52:44 -0700
commit528015e0d84063891f7fbbc7d5bde3a2a38d8b0d (patch)
treea8a0e750786a173b772c78163ce64445c0418638 /src/node_buffer.h
parent138593b156c20b17429aeb1ab3f1da2c3b5b7892 (diff)
downloadnode-new-528015e0d84063891f7fbbc7d5bde3a2a38d8b0d.tar.gz
Implement buffer.toString('base64')
Diffstat (limited to 'src/node_buffer.h')
-rw-r--r--src/node_buffer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/node_buffer.h b/src/node_buffer.h
index dd9d0db51c..47dbe08180 100644
--- a/src/node_buffer.h
+++ b/src/node_buffer.h
@@ -54,6 +54,7 @@ class Buffer : public ObjectWrap {
static v8::Handle<v8::Value> Slice(const v8::Arguments &args);
static v8::Handle<v8::Value> BinarySlice(const v8::Arguments &args);
static v8::Handle<v8::Value> AsciiSlice(const v8::Arguments &args);
+ static v8::Handle<v8::Value> Base64Slice(const v8::Arguments &args);
static v8::Handle<v8::Value> Utf8Slice(const v8::Arguments &args);
static v8::Handle<v8::Value> BinaryWrite(const v8::Arguments &args);
static v8::Handle<v8::Value> AsciiWrite(const v8::Arguments &args);