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

◆ InterpretNamedBitListReversed()

static long System.Formats.Asn1.AsnDecoder.InterpretNamedBitListReversed ( ReadOnlySpan< byte > valueSpan)
inlinestaticprivate

Definition at line 1142 of file AsnDecoder.cs.

1143 {
1144 long num = 0L;
1145 long num2 = 1L;
1146 for (int i = 0; i < valueSpan.Length; i++)
1147 {
1148 byte b = valueSpan[i];
1149 for (int num3 = 7; num3 >= 0; num3--)
1150 {
1151 int num4 = 1 << num3;
1152 if ((b & num4) != 0)
1153 {
1154 num |= num2;
1155 }
1156 num2 <<= 1;
1157 }
1158 }
1159 return num;
1160 }

References System.L.

Referenced by System.Formats.Asn1.AsnDecoder.ReadNamedBitListValue().