kencode

PackedConfiguration

data class PackedConfiguration(val defaultEncoding: IntPacking = IntPacking.DEFAULT)(source)

Holds the configuration for a PackedFormat instance.

Constructors

Link copied to clipboard
constructor(defaultEncoding: IntPacking = IntPacking.DEFAULT)

Properties

Link copied to clipboard

The encoding applied to all Int and Long fields that carry no PackedType annotation. Defaults to IntPacking.DEFAULT varint encoding.

PackedConfiguration

constructor(defaultEncoding: IntPacking = IntPacking.DEFAULT)(source)

defaultEncoding