read

open override fun read(dst: ByteBuffer): Int

Reads from the channel into a given byte buffer and returns the amount of written bytes