PrecomputedExtendedInfoEncoder

Pre-computed extended info encoders encode the data for all necessary extended info blocks early on in the process. This allows us to do a simple native buffer copy to transfer the data over, and avoids us having to re-calculate all the little properties that end up being encoded.

Functions

Link copied to clipboard
abstract fun precompute(alloc: ByteBufAllocator, huffmanCodecProvider: HuffmanCodecProvider, extendedInfo: T): JagByteBuf