@blockchaincommons/dcbor-parse - v1.0.0-beta.3
    Preparing search index...

    Interface ParsedPrefix

    A parsed prefix: the item and how many UTF-16 code units of the source it took.

    interface ParsedPrefix {
        value: Cbor;
        length: number;
    }
    Index
    value: Cbor

    The first item of the source.

    length: number

    The number of UTF-16 code units consumed, trailing whitespace and comments included. When an unterminated /… comment follows, the whitespace run it ends is not consumed and length is where that run began.