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

◆ TryReadUInt32()

bool System.Formats.Asn1.AsnReader.TryReadUInt32 ( out uint value,
Asn1Tag? expectedTag = null )
inline

Definition at line 165 of file AsnReader.cs.

166 {
167 int bytesConsumed;
168 bool result = AsnDecoder.TryReadUInt32(_data.Span, RuleSet, out value, out bytesConsumed, expectedTag);
169 _data = _data.Slice(bytesConsumed);
170 return result;
171 }
ReadOnlyMemory< byte > _data
Definition AsnReader.cs:8
AsnEncodingRules RuleSet
Definition AsnReader.cs:12
unsafe ReadOnlySpan< T > Span
ReadOnlyMemory< T > Slice(int start)

References System.Formats.Asn1.AsnReader._data, System.Formats.Asn1.AsnReader.RuleSet, System.ReadOnlyMemory< T >.Slice(), System.ReadOnlyMemory< T >.Span, System.Formats.Asn1.AsnDecoder.TryReadUInt32(), and System.value.