Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ TryReadInt32() [3/3]

bool System.Formats.Asn1.AsnValueReader.TryReadInt32 ( out int value,
Asn1Tag? expectedTag = null )
inlinepackage

Definition at line 54 of file AsnValueReader.cs.

55 {
56 int bytesConsumed;
57 bool result = AsnDecoder.TryReadInt32(_span, _ruleSet, out value, out bytesConsumed, expectedTag);
58 _span = _span.Slice(bytesConsumed);
59 return result;
60 }
readonly AsnEncodingRules _ruleSet
ReadOnlySpan< T > Slice(int start)

References System.Formats.Asn1.AsnValueReader._ruleSet, System.Formats.Asn1.AsnValueReader._span, System.ReadOnlySpan< T >.Slice(), System.Formats.Asn1.AsnDecoder.TryReadInt32(), and System.value.