TTransport.readAll

Fills the given buffer by reading data into it, failing if not enough data is available.

interface TTransport
void
readAll
(
ubyte[] buf
)

Parameters

buf ubyte[]

Slice to use as buffer.

Throws

TTransportException if insufficient data is available or reading fails altogether.

Meta