derChildrenOrThrow
derChildrenOrThrow
Reads the direct children of a constructed parent within source.
ts
function derChildrenOrThrow(
source: Uint8Array,
parent: DerElement,
): DerElement[]Parameters
source:Uint8Arrayparent:DerElement
Throws
- if a child overflows
parent, or data is left between the last child and its end.