Hierarchy

  • BytesReader

Constructors

  • Parameters

    • arr: Uint8Array

    Returns BytesReader

Properties

consumed: number = 0
source: Uint8Array

Accessors

  • get internalBytes(): Uint8Array
  • Returns Uint8Array

  • get readOffset(): number
  • Returns number

  • set readOffset(val): void
  • Parameters

    • val: number

    Returns void

Methods

  • Parameters

    • length: number

    Returns bigint

  • Parameters

    • length: number

    Returns bigint

  • Parameters

    • length: number

    Returns Uint8Array

  • Returns number

  • Returns number

  • Returns number

  • Type Parameters

    • T extends string

    • TEnumValue extends number

    Parameters

    • enumVariable: {
          [key in string]: TEnumValue
      }
    • invalidEnumErrorFormatter: ((val) => Error)
        • (val): Error
        • Parameters

          • val: number

          Returns Error

    Returns TEnumValue

Generated using TypeDoc