Decodes single cbor value and tries to convert it to requested type.
If types don't match CborException is thrown.
Note, that ubyte[] and string types are slices of input range if ubyte[] was provided.
Will consume input range, decoding all the elements of T.
Decodes single cbor value and tries to convert it to requested type. If types don't match CborException is thrown. Note, that ubyte[] and string types are slices of input range if ubyte[] was provided. Will consume input range, decoding all the elements of T.