summaryrefslogtreecommitdiff
path: root/src/node_buffer.h
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2010-04-04 18:58:55 -0700
committerRyan Dahl <ry@tinyclouds.org>2010-04-04 18:59:40 -0700
commitb72ffc0e0768c7ee689b32da56c52d4c685489b6 (patch)
treeb2d8665278c196aed0e867221e4a153ddf29fe5e /src/node_buffer.h
parentcd577d503d05ded96f11fa97d538509d87debc12 (diff)
downloadnode-new-b72ffc0e0768c7ee689b32da56c52d4c685489b6.tar.gz
Add buffer.copy
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 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);