useChainedByteBuffer

inline fun useChainedByteBuffer(function: (ChainedByteBuffer) -> Unit): ByteBuffer

Utility function to apply a closure to a chained byte buffer and return its data