FileReadChannel

A read channel over a File object.

Constructors

this
this(File file)
Undocumented in source.

Members

Functions

flush
void flush()

Flush the input.

hasPendingData
bool hasPendingData()

If there is data to read, non blocking.

isOpen
bool isOpen()

If the channel is open.

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

Read at most s bytes from the channel.

read
ubyte[] read(ubyte[] buf)

Read at most s bytes from the channel.

Variables

file
File file;
Undocumented in source.

Meta