InputBuffer

A buffered input stream.

Members

Functions

next
bool next(size_t delegate(const(void)[]) scan)
Undocumented in source.
reader
size_t reader(size_t delegate(const(void)[]) consumer)
Undocumented in source.
slice
void[] slice()
Undocumented in source.

Inherited Members

From InputStream

read
size_t read(void[] dst)

Read from stream into a target array. The provided dst will be populated with content from the stream.

load
void[] load(size_t max)

Load the bits from a stream, and return them all in an array. The optional max value indicates the maximum number of bytes to be read.

input
InputStream input [@property getter]

Return the upstream source.

Meta