readFrame

abstract fun readFrame(buffer: ByteBuffer): Int