Skip to content

derChildrenOrThrow ​

derChildrenOrThrow ​

Reads the direct children of a constructed parent within source.

ts
function derChildrenOrThrow(
	source: Uint8Array,
	parent: DerElement,
): DerElement[]

Parameters

Throws

  • if a child overflows parent, or data is left between the last child and its end.

Released under the MIT License.