From 5e1b7cadb48aaf47978b7661a5ce58b0c4d21d27 Mon Sep 17 00:00:00 2001 From: Konstantin Käfer Date: Tue, 30 Nov 2010 13:18:02 +0200 Subject: Add Buffer::fill method to do memset Fixes #477. --- 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 91f93dc1d0..e6d47452e9 100644 --- a/src/node_buffer.h +++ b/src/node_buffer.h @@ -117,6 +117,7 @@ class Buffer : public ObjectWrap { static v8::Handle Ucs2Write(const v8::Arguments &args); static v8::Handle ByteLength(const v8::Arguments &args); static v8::Handle MakeFastBuffer(const v8::Arguments &args); + static v8::Handle Fill(const v8::Arguments &args); static v8::Handle Copy(const v8::Arguments &args); Buffer(v8::Handle wrapper, size_t length); -- cgit v1.2.3