interface Reader {
    buf: Uint8Array;
    len: number;
    pos: number;
    bool(): boolean;
    bytes(): Uint8Array;
    double(): number;
    fixed32(): number;
    fixed64(): bigint;
    fixed64Number(): number;
    fixed64String(): string;
    float(): number;
    int32(): number;
    int64(): bigint;
    int64Number(): number;
    int64String(): string;
    sfixed32(): number;
    sfixed64(): bigint;
    sfixed64Number(): number;
    sfixed64String(): string;
    sint32(): number;
    sint64(): bigint;
    sint64Number(): number;
    sint64String(): string;
    skip(length?): void;
    skipType(wireType): void;
    string(): string;
    uint32(): number;
    uint64(): bigint;
    uint64Number(): number;
    uint64String(): string;
}

Properties

Read buffer

len: number

Read buffer length

pos: number

Read buffer position

Methods