codec
Parameters
codec
A KClass referencing a Kotlin object that implements BoundingLengthCodec<UInt>. The codec drives prefix wire format (var-byte-int, fixed-width, etc.) and provides maxWireSize so the emitter can size the slack region for the slicing scheme.