Sets how many bytes were written. It will shrink the buffer appropriately. Always call it after $(D_PSYMBOL opIndex).
Length of the written data.
$(D_KEYWORD this).
auto b = WriteBuffer!ubyte(6); ubyte[6] buf = [23, 23, 255, 128, 127, 9]; b ~= buf; assert(b.length == 6); b += 2; assert(b.length == 4); b += 4; assert(b.length == 0);
See Implementation
Sets how many bytes were written. It will shrink the buffer appropriately. Always call it after $(D_PSYMBOL opIndex).