WriteBuffer.opIndex

After calling it, set $(D_KEYWORD +=) to the length could be written.

$(D_PSYMBOL buffer) may return only part of the data. You may need to call it (and set $(D_KEYWORD +=) several times until $(D_PSYMBOL length) is 0). If all the data can be written, maximally 3 calls are required.

class WriteBuffer
@property pure nothrow @safe @nogc
ubyte[]
opIndex
()

Return Value

Type: ubyte[]

A chunk of data buffer.

Meta