decodeCborSingleDup

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.

T
decodeCborSingleDup
(
T
Flag!"Flatten" flatten = No.Flatten
R
)
(
auto ref R input
)
if (
isInputRange!R &&
is(ElementType!R == ubyte)
)

Meta