toByteArray

Read channel to byte array.