Options
All
  • Public
  • Public/Protected
  • All
Menu

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.

see

https://amazon-ion.github.io/ion-docs/binary.html#basic-field-formats

Hierarchy

  • LowLevelBinaryWriter

Index

Constructors

constructor

Methods

getBytes

  • getBytes(): Uint8Array

writeByte

  • writeByte(byte: number): void

writeBytes

  • writeBytes(bytes: Uint8Array): void

writeSignedInt

  • writeSignedInt(originalValue: number): void

writeUnsignedInt

  • writeUnsignedInt(originalValue: number | bigint): void

writeVariableLengthSignedInt

  • writeVariableLengthSignedInt(originalValue: number): void

writeVariableLengthUnsignedInt

  • writeVariableLengthUnsignedInt(originalValue: number): void

Static getSignedIntSize

  • getSignedIntSize(value: number): number

Static getUnsignedIntSize

  • getUnsignedIntSize(value: number | bigint): number

Static getVariableLengthSignedIntSize

  • getVariableLengthSignedIntSize(value: number): number

Static getVariableLengthUnsignedIntSize

  • getVariableLengthUnsignedIntSize(value: number): number