Constant musli_wire::encoding::DEFAULT
source · [−]pub const DEFAULT: WireEncoding;Expand description
The default configuration.
Uses variable-encoded numerical fields and variable-encoded prefix lengths.
The variable length encoding uses zigzag with continuation encoding for numbers.
The maximum pack length permitted equals to MAX_INLINE_LEN, which is 30. Trying to encode larger packs will result in a runtime error. This can be modified with WireEncoding::with_max_pack.