abstract fun readBytes(buffer: ByteArray, size: Int = buffer.size, offset: Int = 0): Int
Reads bytes size from the stream into the buffer starting from offset.
Return actual read bytes count.