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
@safe pure
char[]
slice
(
const size_t end
)

Return Value

Type: char[]

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

Meta