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

◆ TryReadInt64()

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

Definition at line 173 of file AsnReader.cs.

174 {
175 int bytesConsumed;
176 bool result = AsnDecoder.TryReadInt64(_data.Span, RuleSet, out value, out bytesConsumed, expectedTag);
177 _data = _data.Slice(bytesConsumed);
178 return result;
179 }
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.TryReadInt64(), and System.value.