public enum ElementType
Public Enumeration ElementType
public enum class ElementType
type ElementType
(Is a logical combination of the ElementTypeDescriptor field which defines the major type and the size field in the binary format; and the size field being made up of the SizeIndex field and any additional length bytes.
Note, the values here are not the numerical bitwise combination of the ElementTypeDescriptor and SizeIndex fields as they appear in the encoded protocol. It was simpler to assign arbitrary values here as firstly we wanted zero to be the 'Unknown' value, which conflicts with Nil's bitwise value; but also because the TextString, sequence and Url types can have various SizeIndex values and thus they wouldn’t be easily representable by one value here).
Unknown | 0 | |
Nil | 20 | |
UInt8 | 21 | |
UInt16 | 22 | |
UInt32 | 23 | |
UInt64 | 24 | |
UInt128 | 25 | |
Int8 | 30 | |
Int16 | 31 | |
Int32 | 32 | |
Int64 | 33 | |
Int128 | 34 | |
Uuid16 | 40 | |
Uuid32 | 41 | |
Uuid128 | 42 | |
TextString | 43 | |
Boolean | 44 | |
ElementSequence | 45 | |
ElementAlternative | 46 | |
Url | 47 |