Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
NodeBuffer
Interface NodeBuffer
deprecated
Hierarchy
NodeBuffer
Buffer
Index
Index signatures
Properties
length
Methods
copy
fill
readDoubleBE
readDoubleLE
readFloatBE
readFloatLE
readInt16BE
readInt16LE
readInt32BE
readInt32LE
readInt8
readUInt16BE
readUInt16LE
readUInt32BE
readUInt32LE
readUInt8
slice
toJSON
toString
write
writeDoubleBE
writeDoubleLE
writeFloatBE
writeFloatLE
writeInt16BE
writeInt16LE
writeInt32BE
writeInt32LE
writeInt8
writeUInt16BE
writeUInt16LE
writeUInt32BE
writeUInt32LE
writeUInt8
Index signatures
(
index
:
number
)
:
number
Parameters
index:
number
Returns
number
Properties
public
length
:
number
Methods
public
copy
(
targetBuffer
:
Buffer
, targetStart
?:
number
, sourceStart
?:
number
, sourceEnd
?:
number
)
:
number
Parameters
targetBuffer:
Buffer
targetStart?:
number
optional
sourceStart?:
number
optional
sourceEnd?:
number
optional
Returns
number
public
fill
(
value
:
any
, offset
?:
number
, end
?:
number
)
Parameters
value:
any
offset?:
number
optional
end?:
number
optional
public
readDoubleBE
(
offset
:
number
, noAssert
?:
boolean
)
:
number
Parameters
offset:
number
noAssert?:
boolean
optional
Returns
number
public
readDoubleLE
(
offset
:
number
, noAssert
?:
boolean
)
:
number
Parameters
offset:
number
noAssert?:
boolean
optional
Returns
number
public
readFloatBE
(
offset
:
number
, noAssert
?:
boolean
)
:
number
Parameters
offset:
number
noAssert?:
boolean
optional
Returns
number
public
readFloatLE
(
offset
:
number
, noAssert
?:
boolean
)
:
number
Parameters
offset:
number
noAssert?:
boolean
optional
Returns
number
public
readInt16BE
(
offset
:
number
, noAssert
?:
boolean
)
:
number
Parameters
offset:
number
noAssert?:
boolean
optional
Returns
number
public
readInt16LE
(
offset
:
number
, noAssert
?:
boolean
)
:
number
Parameters
offset:
number
noAssert?:
boolean
optional
Returns
number
public
readInt32BE
(
offset
:
number
, noAssert
?:
boolean
)
:
number
Parameters
offset:
number
noAssert?:
boolean
optional
Returns
number
public
readInt32LE
(
offset
:
number
, noAssert
?:
boolean
)
:
number
Parameters
offset:
number
noAssert?:
boolean
optional
Returns
number
public
readInt8
(
offset
:
number
, noAssert
?:
boolean
)
:
number
Parameters
offset:
number
noAssert?:
boolean
optional
Returns
number
public
readUInt16BE
(
offset
:
number
, noAssert
?:
boolean
)
:
number
Parameters
offset:
number
noAssert?:
boolean
optional
Returns
number
public
readUInt16LE
(
offset
:
number
, noAssert
?:
boolean
)
:
number
Parameters
offset:
number
noAssert?:
boolean
optional
Returns
number
public
readUInt32BE
(
offset
:
number
, noAssert
?:
boolean
)
:
number
Parameters
offset:
number
noAssert?:
boolean
optional
Returns
number
public
readUInt32LE
(
offset
:
number
, noAssert
?:
boolean
)
:
number
Parameters
offset:
number
noAssert?:
boolean
optional
Returns
number
public
readUInt8
(
offset
:
number
, noAsset
?:
boolean
)
:
number
Parameters
offset:
number
noAsset?:
boolean
optional
Returns
number
public
slice
(
start
?:
number
, end
?:
number
)
:
Buffer
Parameters
start?:
number
optional
end?:
number
optional
Returns
Buffer
public
toJSON
(
)
:
any
Returns
any
public
toString
(
encoding
?:
string
, start
?:
number
, end
?:
number
)
:
string
Parameters
encoding?:
string
optional
start?:
number
optional
end?:
number
optional
Returns
string
public
write
(
string
:
string
, offset
?:
number
, length
?:
number
, encoding
?:
string
)
:
number
Parameters
string:
string
offset?:
number
optional
length?:
number
optional
encoding?:
string
optional
Returns
number
public
writeDoubleBE
(
value
:
number
, offset
:
number
, noAssert
?:
boolean
)
Parameters
value:
number
offset:
number
noAssert?:
boolean
optional
public
writeDoubleLE
(
value
:
number
, offset
:
number
, noAssert
?:
boolean
)
Parameters
value:
number
offset:
number
noAssert?:
boolean
optional
public
writeFloatBE
(
value
:
number
, offset
:
number
, noAssert
?:
boolean
)
Parameters
value:
number
offset:
number
noAssert?:
boolean
optional
public
writeFloatLE
(
value
:
number
, offset
:
number
, noAssert
?:
boolean
)
Parameters
value:
number
offset:
number
noAssert?:
boolean
optional
public
writeInt16BE
(
value
:
number
, offset
:
number
, noAssert
?:
boolean
)
Parameters
value:
number
offset:
number
noAssert?:
boolean
optional
public
writeInt16LE
(
value
:
number
, offset
:
number
, noAssert
?:
boolean
)
Parameters
value:
number
offset:
number
noAssert?:
boolean
optional
public
writeInt32BE
(
value
:
number
, offset
:
number
, noAssert
?:
boolean
)
Parameters
value:
number
offset:
number
noAssert?:
boolean
optional
public
writeInt32LE
(
value
:
number
, offset
:
number
, noAssert
?:
boolean
)
Parameters
value:
number
offset:
number
noAssert?:
boolean
optional
public
writeInt8
(
value
:
number
, offset
:
number
, noAssert
?:
boolean
)
Parameters
value:
number
offset:
number
noAssert?:
boolean
optional
public
writeUInt16BE
(
value
:
number
, offset
:
number
, noAssert
?:
boolean
)
Parameters
value:
number
offset:
number
noAssert?:
boolean
optional
public
writeUInt16LE
(
value
:
number
, offset
:
number
, noAssert
?:
boolean
)
Parameters
value:
number
offset:
number
noAssert?:
boolean
optional
public
writeUInt32BE
(
value
:
number
, offset
:
number
, noAssert
?:
boolean
)
Parameters
value:
number
offset:
number
noAssert?:
boolean
optional
public
writeUInt32LE
(
value
:
number
, offset
:
number
, noAssert
?:
boolean
)
Parameters
value:
number
offset:
number
noAssert?:
boolean
optional
public
writeUInt8
(
value
:
number
, offset
:
number
, noAssert
?:
boolean
)
Parameters
value:
number
offset:
number
noAssert?:
boolean
optional
Globals
NodeJS
assert
buffer
child_process
cluster
crypto
dgram
dns
domain
events
ffi
fs
http
https
net
os
path
punycode
querystring
readline
ref
ref-struct
repl
stream
string_decoder
tls
tty
url
util
vm
zlib