interface Writer {
    len: number;
    bool(value): this;
    bytes(value): this;
    double(value): this;
    finish(): Uint8Array;
    fixed32(value): this;
    fixed64(value): this;
    fixed64Number(value): this;
    fixed64String(value): this;
    float(value): this;
    fork(): this;
    int32(value): this;
    int64(value): this;
    int64Number(value): this;
    int64String(value): this;
    ldelim(): this;
    reset(): this;
    sfixed32(value): this;
    sfixed64(value): this;
    sfixed64Number(value): this;
    sfixed64String(value): this;
    sint32(value): this;
    sint64(value): this;
    sint64Number(value): this;
    sint64String(value): this;
    string(value): this;
    uint32(value): this;
    uint64(value): this;
    uint64Number(value): this;
    uint64String(value): this;
}

Properties

len: number

Current length

Methods