asRpcBinaryData

fun ByteReadChannel.asRpcBinaryData(size: Long? = null): RpcBinaryData

Wrap a ByteReadChannel as an RpcBinaryData.