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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET