Constructors
constructor
- new PipeArrayBuffer(buffer?, length?): utils.candid.PipeArrayBuffer
Properties
Private
_view
_view: any
Private
_buffer
_buffer: any
Accessors
buffer
- get buffer(): ArrayBuffer
byteLength
- get byteLength(): number
Returns number
end
- get end(): boolean
Returns boolean
Methods
read
- read(num): ArrayBuffer
readUint8
- readUint8(): undefined | number
Returns undefined | number
write
- write(buf): void
Returns void
alloc
- alloc(amount): void
Returns void
A class that abstracts a pipe-like ArrayBuffer.