Options
All
  • Public
  • Public/Protected
  • All
Menu

Decoder decodes values from CBOR format.

Hierarchy

  • Decoder

Index

Constructors

Accessors

Methods

Constructors

  • Creates decoder. If noCopy is true, all read Uint8Arrays will be the subarrays of src.

    If ignoreExtraData is true, decoder will not throw if there's undecoded data at the end of the source.

    Parameters

    Returns Decoder

Accessors

  • get undecodedLength(): number
  • Gets the number of undecoded bytes left in the buffer.

    Returns number

Methods

  • decode(): any

Generated using TypeDoc