Enum PrimitiveDataType
- Namespace
- ShapeShift.Schema
- Assembly
- ShapeShift.dll
Enumerates the scalar data types that ShapeShift knows how to encode natively.
public enum PrimitiveDataType
Fields
BigInteger = 15A BigInteger, which has no bounds.
Binary = 4A sequence of bytes.
Boolean = 0A bool.
Byte = 6A byte.
Char = 1A char, encoded as a single-character string.
DateTime = 20A DateTime.
DateTimeOffset = 21A DateTimeOffset, encoded as a two-element vector of the UTC time and the offset in minutes.
Decimal = 19A decimal.
Double = 18A double.
Half = 16A Half.
Int128 = 13An Int128.
Int16 = 7An short.
Int32 = 9An int.
Int64 = 11A long.
Rune = 2A Rune, encoded as its unicode scalar value.
SByte = 5An sbyte.
Single = 17A float.
String = 3A string.
TimeSpan = 22A TimeSpan.
UInt128 = 14A UInt128.
UInt16 = 8An ushort.
UInt32 = 10An uint.
UInt64 = 12A ulong.
Remarks
The precise encoding of each member is format specific. Consult the documentation for each format for details.