Class Coder<TInput, TDecoded>Abstract

Type Parameters

  • TInput = unknown
  • TDecoded = unknown

Hierarchy (view full)

Constructors

Properties

Methods

Constructors

  • Type Parameters

    • TInput = unknown
    • TDecoded = unknown

    Parameters

    • name: string
    • type: string
    • encodedLength: number

    Returns Coder<TInput, TDecoded>

Properties

encodedLength: number
name: string
type: string

Methods

  • Parameters

    • data: Uint8Array
    • offset: number
    • Optionallength: number

    Returns [TDecoded, number]

  • Parameters

    • value: TInput
    • Optionallength: number

    Returns Uint8Array