Composes a dCBOR array from a slice of string slices, and returns a CBOR object representing the array.
Each string slice is parsed as a dCBOR item.
Array of strings, each representing a dCBOR item
A CBOR array containing all parsed items
const result = composeDcborArray(["1", "2", "3"]);if (result.ok) { console.log(result.value.toDiagnostic()); // "[1, 2, 3]"} Copy
const result = composeDcborArray(["1", "2", "3"]);if (result.ok) { console.log(result.value.toDiagnostic()); // "[1, 2, 3]"}
Composes a dCBOR array from a slice of string slices, and returns a CBOR object representing the array.
Each string slice is parsed as a dCBOR item.