Sections
classes
Exported classes.
Exported classes.
Functions and classes, exported from Node.js ubjson
module.
Value to pack
Buffer to resulting UBJSON data
Callback, gets buffer (error, offset)
Packs JavaScript value into UBJSON.
Value to pack
Buffer to resulting UBJSON data
Synchronous UBJSON.packToBuffer. Returns buffer offset.
Buffer to unpack
Callback, gets JavaScript value
Unpacks buffer with UBJSON data into JavaScript value.
Exported classes.
Value class for storing 64-bit integers as its low and high 32-bit values.
Makes possible to send and receive UBJSON data through streams.
Value class for storing 64-bit integers as its low and high 32-bit values.
Constructs a 64-bit two's-complement integer, given its low and high 32-bit values as signed integers.
Returns unsigned 32-bit integer representation of high part.
Returns unsigned 32-bit integer representation of low part.
Returns low and high part of 64-bit integer as array
Returns the Number value: the closest floating-point representation to this 64-bit integer.
Makes possible to send and receive UBJSON data through streams.
Stream to write and read UBJSON data.
Constructs an UbjsonStream instance, use stream
for read or/and write packed data.
Emits on underlying stream end
event.
Available only for readable streams.
Received error
Emits on parse error.
Available only for readable streams.
Received JavaScript value
Emits on value read from underlying stream.
Available only for readable streams.
JavaScript value to send
Sends an UBJSON-packed value down the stream.
Returns underlying stream write
method calls result.