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

◆ DecodeCore() [1/2]

static void System.Security.Cryptography.Asn1.AttributeAsn.DecodeCore ( ref AsnValueReader reader,
Asn1Tag expectedTag,
ReadOnlyMemory< byte > rebind,
out AttributeAsn decoded )
inlinestaticprivate

Definition at line 61 of file AttributeAsn.cs.

62 {
63 decoded = default(AttributeAsn);
64 AsnValueReader asnValueReader = reader.ReadSequence(expectedTag);
66 decoded.AttrType = asnValueReader.ReadObjectIdentifier();
69 while (asnValueReader2.HasData)
70 {
71 ReadOnlySpan<byte> other = asnValueReader2.ReadEncodedValue();
72 int elementOffset;
74 list.Add(item);
75 }
76 decoded.AttrValues = list.ToArray();
77 asnValueReader.ThrowIfNotEmpty();
78 }
void Add(TKey key, TValue value)

References System.Collections.Generic.Dictionary< TKey, TValue >.Add(), System.item, System.list, and System.other.

Referenced by System.Security.Cryptography.Asn1.AttributeAsn.Decode(), and System.Security.Cryptography.Asn1.AttributeAsn.Decode().