INNER CODE UNIT · TypeScript
elementsArray
backbone-hq/minibone · src/canonical.ts:61
const elementsArray = Uint8Array.from(elements.flatMap((e) => Array.from(e)))
return new Uint8Array([...header, ...length, ...elementsArray])
}
throw new Error('Unsupported type')
}