Attempts to read data into the given buffer, stopping when the buffer is exhausted or the frame end is reached.
TODO: Contrary to the C++ implementation, this never does cross-frame reads – is there actually a valid use case for that?
Slice to use as buffer.
How many bytes were actually read.
TTransportException if an error occurs.
See Implementation
Attempts to read data into the given buffer, stopping when the buffer is exhausted or the frame end is reached.
TODO: Contrary to the C++ implementation, this never does cross-frame reads – is there actually a valid use case for that?