BC-DCBOR TypeScript Library - v1.0.0-alpha.13
    Preparing search index...

    Function expectUnsigned

    • Extract unsigned integer value, throwing if type doesn't match.

      Parameters

      • cbor: Cbor

        CBOR value

      Returns number | bigint

      Unsigned integer

      With type 'WrongType' if cbor is not an unsigned integer