We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1391f3 commit 41c1563Copy full SHA for 41c1563
src/node_buffer.h
@@ -37,17 +37,7 @@ class Buffer : public ObjectWrap {
37
static char* Data(v8::Handle<v8::Object>);
38
static size_t Length(v8::Handle<v8::Object>);
39
40
- char* data() {
41
- assert(0 && "v0.3 API change: Use node::Buffer::Data().");
42
- return NULL;
43
- }
44
-
45
- size_t length() const {
46
- assert(0 && "v0.3 API change: Use node::Buffer::Length().");
47
- return 0;
48
49
50
- private:
+ private:
51
static v8::Persistent<v8::FunctionTemplate> constructor_template;
52
53
static v8::Handle<v8::Value> New(const v8::Arguments &args);
0 commit comments