Buffer.length

Returns what amounts to the current length of the buffer; the distance between the current position pos and the last element end.

struct Buffer(T, Flag!"dynamic" dynamic = No.dynamic, size_t originalSize = 128)
pure nothrow const @nogc
size_t
length
()

Return Value

Type: size_t

The buffer's current length.

Meta