Class LowLevelBinaryWriter
Methods
writeByte
writeByte( byte: number ) : void
writeBytes
writeBytes( bytes: Uint8Array ) : void
writeSignedInt
writeSignedInt( originalValue: number ) : void
writeUnsignedInt
writeUnsignedInt( originalValue: number | bigint ) : void
Parameters
originalValue: number | bigint
Returns void
writeVariableLengthSignedInt
writeVariableLengthSignedInt( originalValue: number ) : void
writeVariableLengthUnsignedInt
writeVariableLengthUnsignedInt( originalValue: number ) : void
Static getSignedIntSize
getSignedIntSize( value: number ) : number
Parameters
Returns number
Static getUnsignedIntSize
getUnsignedIntSize( value: number | bigint ) : number
Parameters
Returns number
Static getVariableLengthSignedIntSize
getVariableLengthSignedIntSize( value: number ) : number
Parameters
Returns number
Static getVariableLengthUnsignedIntSize
getVariableLengthUnsignedIntSize( value: number ) : number
Parameters
Returns number
Legend
Namespace
Variable
Function
Function with type parameter
Type alias
Type alias with type parameter
Values in the Ion binary format are serialized as a sequence of low-level fields. This writer is responsible for emitting those fields in the proper format.
https://amazon-ion.github.io/ion-docs/binary.html#basic-field-formats