WriteBuffer.opIndex

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

$(D_PSYMBOL opIndex) 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.

struct WriteBuffer(T = ubyte)
T[]
opIndex
()

Return Value

Type: T[]

A chunk of data buffer.

Meta