FileReadChannel

A read channel over a File object.

Constructors

this
this(File in_)
Undocumented in source.

Members

Functions

destroy
void destroy()
Undocumented in source. Be warned that the author may not have intended to support it.
hasData
bool hasData()
Undocumented in source. Be warned that the author may not have intended to support it.
hasPendingData
bool hasPendingData()
Undocumented in source. Be warned that the author may not have intended to support it.
read
const(ubyte)[] read(size_t size)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From ReadChannel

OutRange
alias OutRange = void delegate(const(ubyte)[] data)
Undocumented in source.
hasData
bool hasData()

If the channel is open.

hasPendingData
bool hasPendingData()

If there is data to read, non blocking.

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

Read at most s bytes from the channel.

destroy
void destroy()

ditto Destroy the channel.

Meta