Buffer.empty

Returns whether or not the container is considered empty.

Mind that the buffer may well still contain old contents. Use clear to zero it out.

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

Return Value

Type: bool

true if there are items available to get via front, false if not.

Meta