Marmos
v juptune
v asn1
v lang
v ast
v Classes
v Enums
v ir
v parser
v Enums
v Structs
v core
v crypto
v keyexchange
v memory
v data
v alphabet
v buffer
v json
v builder
v parser
v Enums
v Structs
v serialise
v Structs
v Templates
v pem
v Enums
v Structs

Functions asn1ReadContentBytes

1
2
3
4
5
6
7
8
9
10

Documentation

Creates a new memory reader, from the parent ASN.1 data stream, that contains the content bytes for a record.

This new reader is suitable for passing into the various fromDecodingfunctions provided by the primitive types in this module.

Notes

The new reader is created from a non-copied slice from the parent reader, so the new reader must not outlive the parent reader.

Params

Throws

Asn1DecodeError.eofif there are less bytes than expected.

Asn1DecodeError.componentLengthOver64Bitsif the length is long-form and does not fit into a native D integer.

Returns

A Resultif reading failed.