iya-sts
    Preparing search index...

    Function cborDecodeFirst

    • Decodes the first CBOR data item in a buffer (definite lengths only).

      Parameters

      • buf: any

        the bytes

      • offset: any

        where the item starts; 0 when omitted

      Returns any

      a pair of the decoded value and the offset just past it

      when the bytes are not CBOR this reader decodes