TrimSuffixEncoder

Encodes dst relative to src by trimming whatever non-equal suffix src has.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun decode(reuse: ByteBuffer?, source: ByteBuffer, encoded: ByteBuffer): ByteBuffer

Decodes encoded relative to source, optionally reusing the provided ByteBuffer.

Link copied to clipboard
open override fun encode(reuse: ByteBuffer?, source: ByteBuffer, target: ByteBuffer): ByteBuffer

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

Link copied to clipboard
open override fun toString(): String