The fixed size codec does not require length header when used inside other structures.

Type Parameters

  • T

  • TParseInput = T

Hierarchy (view full)

Constructors

Properties

fixedByteLength: number
name: string

Name of this codec used to export .mol file.

Methods

  • Export the schema of this codec and all the dependencies into the map.

    The order of the map is guaranteed that the dependency is always exported before the dependent.

    Parameters

    • exported: Map<string, string>

    Returns Map<string, string>

  • Pack the value and append the buffer to the provided writer.

    Take the advantage of writer and append the buffer as blocks. The writer can concatenate all blocks into one buffer for the final result.

    Parameters

    Returns void

Generated using TypeDoc