TTransport.consume

Remove len bytes from the transport. This must always follow a borrow of at least len bytes, and should always succeed.

The transport must be open when calling this.

interface TTransport
void
consume
(
size_t len
)

Parameters

len size_t

Number of bytes to consume.

Throws

TTransportException if an error occurs.

Meta