interface Decoder {
    buffer: () => string | Uint8Array<ArrayBufferLike>;
    bytes: any;
    data: null | Uint8Array<ArrayBufferLike>;
    dictionary: () => any;
    encoding: null | string;
    find: (ch: number) => null | number;
    integer: () => number;
    list: () => any;
    next: () => any;
    position: number;
    (data: string | Uint8Array<ArrayBufferLike>): Decoded;
    (data: string | Uint8Array<ArrayBufferLike>, encoding: string): Decoded;
    (
        data: string | Uint8Array<ArrayBufferLike>,
        start: number,
        encoding: string,
    ): Decoded;
    (
        data: string | Uint8Array<ArrayBufferLike>,
        start: number,
        end: number,
        encoding: string,
    ): Decoded;
}
  • Parameters

    • data: string | Uint8Array<ArrayBufferLike>

    Returns Decoded

  • Parameters

    • data: string | Uint8Array<ArrayBufferLike>
    • encoding: string

    Returns Decoded

  • Parameters

    • data: string | Uint8Array<ArrayBufferLike>
    • start: number
    • encoding: string

    Returns Decoded

  • Parameters

    • data: string | Uint8Array<ArrayBufferLike>
    • start: number
    • end: number
    • encoding: string

    Returns Decoded

Properties

buffer: () => string | Uint8Array<ArrayBufferLike>
bytes: any
data: null | Uint8Array<ArrayBufferLike>
dictionary: () => any
encoding: null | string
find: (ch: number) => null | number
integer: () => number
list: () => any
next: () => any
position: number