diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2010-07-23 13:52:44 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-07-23 13:52:44 -0700 |
commit | 528015e0d84063891f7fbbc7d5bde3a2a38d8b0d (patch) | |
tree | a8a0e750786a173b772c78163ce64445c0418638 /src/node_buffer.h | |
parent | 138593b156c20b17429aeb1ab3f1da2c3b5b7892 (diff) | |
download | node-new-528015e0d84063891f7fbbc7d5bde3a2a38d8b0d.tar.gz |
Implement buffer.toString('base64')
Diffstat (limited to 'src/node_buffer.h')
-rw-r--r-- | src/node_buffer.h | 1 |
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); |