FileReadChannel

A read channel over a File object.

Members

Functions

hasData
bool hasData()

If the channel is open.

hasPendingData
bool hasPendingData()

If there is data to read, non blocking.

read
const(ubyte)[] read(const size_t size)

Read at most s bytes from the channel.

read
ubyte[] read(ref ubyte[] buf)

Read at most s bytes from the channel.

Meta