Interface Decodable<R>

An object that knows how to decode itself from TLV.

Most commonly, decodeFrom is added as a static method of type R, so that the constructor of R implements this interface.

interface Decodable<R> {
    decodeFrom: ((decoder: Decoder) => R);
}

Type Parameters

  • R

    Result type.

Hierarchy

  • Decodable

    Properties

    Properties

    decodeFrom: ((decoder: Decoder) => R)