Decodes single value and returns it as CborValue tagged union type.
Throws CborException if data is not well-formed.
Note, that ubyte[] and string types are slices of input range if ubyte[] was provided.
Will modify input range, popping all the bytes of the first item.
Decodes single value and returns it as CborValue tagged union type. Throws CborException if data is not well-formed. Note, that ubyte[] and string types are slices of input range if ubyte[] was provided. Will modify input range, popping all the bytes of the first item.