Reader.slice

Get a slice view of the internal buffer, starting at the current position.

Note: This gets only a "view" into the internal buffer, which get invalidated after other Reader calls.

class Reader
pure nothrow @nogc
char[]
slice
@safe
(
const size_t end
)

Return Value

Type: char[]

Slice into the internal buffer or an empty slice if out of bounds.

Meta