Theia API Documentation v1.65.0
    Preparing search index...

    A buffer maintaining a write position capable of writing primitive values

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

    Implemented by

    Index

    Methods