Options
All
  • Public
  • Public/Protected
  • All
Menu

Writes out Ion values in Ion's binary format.

This implementation caches serialized values in an in-memory tree. It does not support multiple local symbol tables (aka "symbol table append").

see

https://amazon-ion.github.io/ion-docs/binary.html

Hierarchy

Index

Constructors

constructor

Methods

addAnnotation

  • addAnnotation(annotation: string): void

close

  • close(): void

depth

  • depth(): number

getBytes

  • getBytes(): Uint8Array

setAnnotations

  • setAnnotations(annotations: string[]): void

stepIn

stepOut

  • stepOut(): void

writeBlob

  • writeBlob(value: null | Uint8Array): void

writeBoolean

  • writeBoolean(value: null | boolean): void

writeClob

  • writeClob(value: null | Uint8Array): void

writeDecimal

  • writeDecimal(value: null | Decimal): void

writeFieldName

  • writeFieldName(fieldName: string): void

writeFloat32

  • writeFloat32(value: null | number): void

writeFloat64

  • writeFloat64(value: null | number): void

writeInt

  • writeInt(value: null | number | bigint): void

writeNull

writeString

  • writeString(value: null | string): void

writeSymbol

  • writeSymbol(value: null | string): void

writeTimestamp

  • writeTimestamp(value: null | Timestamp): void

writeValue

  • writeValue(reader: Reader): void

writeValues

  • writeValues(reader: Reader): void