readDirect
Apply block function on a ByteBuffer of readable bytes. The block function should return number of consumed bytes.
Return
number of bytes consumed
Deprecated
Use read {} instead.
Apply block function on a ByteBuffer of readable bytes. The block function should return number of consumed bytes.
number of bytes consumed
Use read {} instead.