TLV decoder.

Constructors

Accessors

Methods

Constructors

Accessors

  • get eof(): boolean
  • Determine whether end of input has been reached.

    Returns boolean

Methods

  • Read the next TLV structure from input.

    Returns Tlv

    TLV structure.

    Throws

    Error Thrown if there isn't a complete TLV structure in the input.

  • Ensure EOF has been reached.

    Returns void

    Throws

    Error Thrown if EOF has not been reached.