From b72ffc0e0768c7ee689b32da56c52d4c685489b6 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Sun, 4 Apr 2010 18:58:55 -0700 Subject: Add buffer.copy --- src/node_buffer.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/node_buffer.h') 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 Utf8Write(const v8::Arguments &args); static v8::Handle ByteLength(const v8::Arguments &args); static v8::Handle Unpack(const v8::Arguments &args); + static v8::Handle Copy(const v8::Arguments &args); int AsciiWrite(char *string, int offset, int length); int Utf8Write(char *string, int offset, int length); -- cgit v1.2.1