decodeCborSingleDup

Decodes single cbor value and tries to convert it to requested type. If types doesn't match CborException is thrown. Note, that this version will dup all arrays for you. Will modify input range, popping all the elements of T.

T
decodeCborSingleDup
(
T
R
)
(
auto ref R input
)
if (
isInputRange!R &&
is(ElementType!R == ubyte)
)

Meta