importBERElementfrom"../../ber.mjs";
exportdefaultfunctiondecodeSequence(value) {
const encodedElements = [];
let i = 0;
while (i < value.length) {
const next = newBERElement();
i += next.fromBytes(value.subarray(i));
encodedElements.push(next);
}
return encodedElements;
}