Properties

P length: number

Type:
  • number

Methods

M copy(targetBuffer: Buffer, targetStart: number, sourceStart: number, sourceEnd: number) number

Parameters:
Name Type Argument
targetBuffer Buffer
targetStart number <optional>
sourceStart number <optional>
sourceEnd number <optional>
Returns: { number }

M fill(value: any, offset: number, end: number) void

Parameters:
Name Type Argument
value any
offset number <optional>
end number <optional>
Returns: { void }

M readDoubleBE(offset: number, noAssert: boolean) number

Parameters:
Name Type Argument
offset number
noAssert boolean <optional>
Returns: { number }

M readDoubleLE(offset: number, noAssert: boolean) number

Parameters:
Name Type Argument
offset number
noAssert boolean <optional>
Returns: { number }

M readFloatBE(offset: number, noAssert: boolean) number

Parameters:
Name Type Argument
offset number
noAssert boolean <optional>
Returns: { number }

M readFloatLE(offset: number, noAssert: boolean) number

Parameters:
Name Type Argument
offset number
noAssert boolean <optional>
Returns: { number }

M readInt8(offset: number, noAssert: boolean) number

Parameters:
Name Type Argument
offset number
noAssert boolean <optional>
Returns: { number }

M readInt16BE(offset: number, noAssert: boolean) number

Parameters:
Name Type Argument
offset number
noAssert boolean <optional>
Returns: { number }

M readInt16LE(offset: number, noAssert: boolean) number

Parameters:
Name Type Argument
offset number
noAssert boolean <optional>
Returns: { number }

M readInt32BE(offset: number, noAssert: boolean) number

Parameters:
Name Type Argument
offset number
noAssert boolean <optional>
Returns: { number }

M readInt32LE(offset: number, noAssert: boolean) number

Parameters:
Name Type Argument
offset number
noAssert boolean <optional>
Returns: { number }

M readUInt8(offset: number, noAsset: boolean) number

Parameters:
Name Type Argument
offset number
noAsset boolean <optional>
Returns: { number }

M readUInt16BE(offset: number, noAssert: boolean) number

Parameters:
Name Type Argument
offset number
noAssert boolean <optional>
Returns: { number }

M readUInt16LE(offset: number, noAssert: boolean) number

Parameters:
Name Type Argument
offset number
noAssert boolean <optional>
Returns: { number }

M readUInt32BE(offset: number, noAssert: boolean) number

Parameters:
Name Type Argument
offset number
noAssert boolean <optional>
Returns: { number }

M readUInt32LE(offset: number, noAssert: boolean) number

Parameters:
Name Type Argument
offset number
noAssert boolean <optional>
Returns: { number }

M slice(start: number, end: number) Buffer

Parameters:
Name Type Argument
start number <optional>
end number <optional>
Returns: { Buffer }

M toJSON() any

Returns: { any }

M toString(encoding: string, start: number, end: number) string

Parameters:
Name Type Argument
encoding string <optional>
start number <optional>
end number <optional>
Returns: { string }

M write(string: string, offset: number, length: number, encoding: string) number

Parameters:
Name Type Argument
string string
offset number <optional>
length number <optional>
encoding string <optional>
Returns: { number }

M writeDoubleBE(value: number, offset: number, noAssert: boolean) void

Parameters:
Name Type Argument
value number
offset number
noAssert boolean <optional>
Returns: { void }

M writeDoubleLE(value: number, offset: number, noAssert: boolean) void

Parameters:
Name Type Argument
value number
offset number
noAssert boolean <optional>
Returns: { void }

M writeFloatBE(value: number, offset: number, noAssert: boolean) void

Parameters:
Name Type Argument
value number
offset number
noAssert boolean <optional>
Returns: { void }

M writeFloatLE(value: number, offset: number, noAssert: boolean) void

Parameters:
Name Type Argument
value number
offset number
noAssert boolean <optional>
Returns: { void }

M writeInt8(value: number, offset: number, noAssert: boolean) void

Parameters:
Name Type Argument
value number
offset number
noAssert boolean <optional>
Returns: { void }

M writeInt16BE(value: number, offset: number, noAssert: boolean) void

Parameters:
Name Type Argument
value number
offset number
noAssert boolean <optional>
Returns: { void }

M writeInt16LE(value: number, offset: number, noAssert: boolean) void

Parameters:
Name Type Argument
value number
offset number
noAssert boolean <optional>
Returns: { void }

M writeInt32BE(value: number, offset: number, noAssert: boolean) void

Parameters:
Name Type Argument
value number
offset number
noAssert boolean <optional>
Returns: { void }

M writeInt32LE(value: number, offset: number, noAssert: boolean) void

Parameters:
Name Type Argument
value number
offset number
noAssert boolean <optional>
Returns: { void }

M writeUInt8(value: number, offset: number, noAssert: boolean) void

Parameters:
Name Type Argument
value number
offset number
noAssert boolean <optional>
Returns: { void }

M writeUInt16BE(value: number, offset: number, noAssert: boolean) void

Parameters:
Name Type Argument
value number
offset number
noAssert boolean <optional>
Returns: { void }

M writeUInt16LE(value: number, offset: number, noAssert: boolean) void

Parameters:
Name Type Argument
value number
offset number
noAssert boolean <optional>
Returns: { void }

M writeUInt32BE(value: number, offset: number, noAssert: boolean) void

Parameters:
Name Type Argument
value number
offset number
noAssert boolean <optional>
Returns: { void }

M writeUInt32LE(value: number, offset: number, noAssert: boolean) void

Parameters:
Name Type Argument
value number
offset number
noAssert boolean <optional>
Returns: { void }
Deprecated:
  • Yes