Interface WriteBuffer

A buffer maintaining a write position capable of writing primitive values

interface WriteBuffer {
    commit(): void;
    writeBytes(value): this;
    writeLength(value): this;
    writeNumber(value): this;
    writeRaw(bytes): this;
    writeString(value): this;
    writeUint16(value): this;
    writeUint32(value): this;
    writeUint8(byte): this;
}

Implemented by

Methods