Decodes single cbor value and tries to convert it to requested type. If types don't match CborException is thrown. Note, that this version will dup all array slices for you. Will consume input range, decoding all the elements of T.
See Implementation
Decodes single cbor value and tries to convert it to requested type. If types don't match CborException is thrown. Note, that this version will dup all array slices for you. Will consume input range, decoding all the elements of T.