diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2010-04-04 18:58:55 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2010-04-04 18:59:40 -0700 |
commit | b72ffc0e0768c7ee689b32da56c52d4c685489b6 (patch) | |
tree | b2d8665278c196aed0e867221e4a153ddf29fe5e /src/node_buffer.h | |
parent | cd577d503d05ded96f11fa97d538509d87debc12 (diff) | |
download | node-new-b72ffc0e0768c7ee689b32da56c52d4c685489b6.tar.gz |
Add buffer.copy
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 9f497c5419..e746cdebe1 100644 --- a/src/node_buffer.h +++ b/src/node_buffer.h @@ -53,6 +53,7 @@ class Buffer : public ObjectWrap { static v8::Handle<v8::Value> Utf8Write(const v8::Arguments &args); static v8::Handle<v8::Value> ByteLength(const v8::Arguments &args); static v8::Handle<v8::Value> Unpack(const v8::Arguments &args); + static v8::Handle<v8::Value> Copy(const v8::Arguments &args); int AsciiWrite(char *string, int offset, int length); int Utf8Write(char *string, int offset, int length); |