AsnReader Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Construct an AsnReader over data
with a given ruleset.
public AsnReader (ReadOnlyMemory<byte> data, System.Formats.Asn1.AsnEncodingRules ruleSet, System.Formats.Asn1.AsnReaderOptions options = default);
new System.Formats.Asn1.AsnReader : ReadOnlyMemory<byte> * System.Formats.Asn1.AsnEncodingRules * System.Formats.Asn1.AsnReaderOptions -> System.Formats.Asn1.AsnReader
Public Sub New (data As ReadOnlyMemory(Of Byte), ruleSet As AsnEncodingRules, Optional options As AsnReaderOptions = Nothing)
Parameters
- data
- ReadOnlyMemory<Byte>
The data to read.
- ruleSet
- AsnEncodingRules
The encoding constraints for the reader.
- options
- AsnReaderOptions
Additional options for the reader.
Exceptions
ruleSet
is not defined.
Remarks
This constructor does not evaluate data
for correctness. Any correctness checks are done as part of member methods.
This constructor does not copy data
. The caller is responsible for ensuring that the values do not change until the reader is finished.
Applies to
Povratne informacije
https://aka.ms/ContentUserFeedback.
Kmalu na voljo: V letu 2024 bomo ukinili storitev Težave v storitvi GitHub kot mehanizem za povratne informacije za vsebino in jo zamenjali z novim sistemom za povratne informacije. Za več informacij si oglejte:Pošlji in prikaži povratne informacije za