encode

abstract fun encode(reuse: ByteBuffer?, source: ByteBuffer, target: ByteBuffer): ByteBuffer

Encodes target relative to source, optionally reusing the provided ByteBuffer.