You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When reading ASN.1 BER/CER/DER content from a Stream it's not currently possible to know how far ahead one needs to buffer in order to read the next item.
namespaceSystem.Formats.Asn1{publicstaticpartialclassAsnDecoder{// returns null for "indefinite length"// (local length 0, but keep seeking until you find the "end of indefinite length" marker)publicstaticint?DecodeLength(ReadOnlySpan<byte>source,AsnEncodingRulesruleSet,outintbytesConsumed);publicstaticboolTryDecodeLength(ReadOnlySpan<byte>source,AsnEncodingRulesruleSet,outint?decodedLength,outintbytesConsumed);}}
The text was updated successfully, but these errors were encountered:
namespaceSystem.Formats.Asn1{publicstaticpartialclassAsnDecoder{// returns null for "indefinite length"// (local length 0, but keep seeking until you find the "end of indefinite length" marker)publicstaticint?DecodeLength(ReadOnlySpan<byte>source,AsnEncodingRulesruleSet,outintbytesConsumed);publicstaticboolTryDecodeLength(ReadOnlySpan<byte>source,AsnEncodingRulesruleSet,outint?decodedLength,outintbytesConsumed);}}
bartonjs
added
api-approved
API was approved in API review, it can be implemented
and removed
blocking
Marks issues that we want to fast track in order to unblock other important work
api-ready-for-review
API is ready for review, it is NOT ready for implementation
labels
Apr 16, 2024
When reading ASN.1 BER/CER/DER content from a Stream it's not currently possible to know how far ahead one needs to buffer in order to read the next item.
The text was updated successfully, but these errors were encountered: