Typeberry by Fluffy Labs - v0.5.2
    Preparing search index...

    Module codec

    JAM/GP codec implementation for encoding and decoding data.

    This module provides the JAM/GP codec used throughout the JAM protocol for efficient binary serialization.

    Classes

    Decoder
    Descriptor
    Encoder
    EndOfDataError
    ObjectView
    SequenceView
    ViewField

    Interfaces

    CodecWithView

    Type Aliases

    ClassConstructor
    Codec
    CodecRecord
    Decode
    DescribedBy
    DescriptorRecord
    Encode
    LengthRange
    OptionalRecord
    Options
    PropertyKeys
    SequenceVarLenOptions
    SimpleDescriptorRecord
    SizeHint
    ViewOf

    Variables

    bitVecVarLen
    blob
    bool
    bytes
    codec
    i16
    i24
    i32
    i64
    i8
    nothing
    string
    TYPICAL_DICTIONARY_LENGTH
    u16
    u24
    u32
    u64
    u8
    varU32
    varU64

    Functions

    addSizeHints
    bitVecFixLen
    Class
    custom
    decodeVariableLengthExtraBytes
    dictionary
    forEachDescriptor
    object
    optional
    pair
    readonlyArray
    select
    sequenceFixLen
    sequenceVarLen
    tryAsExactBytes
    union
    validateLength