AsnDecoder.ReadInteger 方法   
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在指定编码规则下,从带有指定标记的 source 中读取整数值。
public static System.Numerics.BigInteger ReadInteger (ReadOnlySpan<byte> source, System.Formats.Asn1.AsnEncodingRules ruleSet, out int bytesConsumed, System.Formats.Asn1.Asn1Tag? expectedTag = default);
	static member ReadInteger : ReadOnlySpan<byte> * System.Formats.Asn1.AsnEncodingRules * int * Nullable<System.Formats.Asn1.Asn1Tag> -> System.Numerics.BigInteger
	Public Shared Function ReadInteger (source As ReadOnlySpan(Of Byte), ruleSet As AsnEncodingRules, ByRef bytesConsumed As Integer, Optional expectedTag As Nullable(Of Asn1Tag) = Nothing) As BigInteger
	参数
- source
 - ReadOnlySpan<Byte>
 
包含编码数据的缓冲区。
- ruleSet
 - AsnEncodingRules
 
解释数据时要使用的编码约束。
- bytesConsumed
 - Int32
 
此方法返回时,为编码值的字节总数。 该参数未经初始化即被处理。
返回
解码的数值。
例外
未定义ruleSet 。