Created
May 8, 2011 19:11
-
-
Save sdwilsh/961606 to your computer and use it in GitHub Desktop.
Contains a list of APIs that are declared in buffer.js and in node_buffer.cc (exposed to JS)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
On Buffer (only exposed to JS): | |
Constructor (documented) | |
poolSize | |
isBuffer (documented) | |
byteLength (documented) | |
On Buffer Instances: | |
write (documented) | |
toString (documented) | |
[] operator (documented) | |
copy (documented) | |
slice (documented) | |
length (documented) | |
readUint8 (documented) | |
readUint16 (documented) | |
readUint32 (documented) | |
readInt8 (documented) | |
readInt16 (documented) | |
readInt32 (documented) | |
writeUint8 (documented) | |
writeUint16 (documented) | |
writeUint32 (documented) | |
writeInt8 (documented) | |
writeInt16 (documented) | |
writeInt32 (documented) | |
fill (documented) | |
utf8Slice (legacy) | |
binarySlice (legacy) | |
asciiSlice (legacy) | |
utf8Write (legacy) | |
binaryWrite (legacy) | |
asciiWrite (legacy) | |
inspect | |
get | |
set | |
On SlowBuffer: | |
byteLength (cpp) | |
makeFastBuffer (cpp) | |
JS Accessible Instance Methods on SlowBuffer: | |
inspect (js) | |
hexSlice (js) | |
toString (js) | |
hexWrite (js) | |
write (js) | |
slice (js) | |
Constructor (cpp) | |
binarySlice (cpp) | |
asciiSlice (cpp) | |
base64Slice (cpp) | |
ucs2Slice (cpp) | |
utf8Slice (cpp) | |
utf8Write (cpp) | |
asciiWrite (cpp) | |
binaryWrite (cpp) | |
base64Write (cpp) | |
ucs2Write (cpp) | |
copy (cpp) | |
C++ Accessible APIs on SlowBuffer: | |
static HasInstance | |
static Data | |
static Length | |
static New |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment