The SFSDataType class contains the costants defining the data types supported by SFSObject and SFSArray classes.
Namespace:
Sfs2X.Entities.Data
Assembly:
SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax Members
| Member name | Value | Description |
---|
| NULL | 0 |
Null value.
|
| BOOL | 1 |
Boolean.
|
| BYTE | 2 |
Byte, signed 8 bits.
|
| SHORT | 3 |
Short integer, signed 16 bits.
|
| INT | 4 |
Integer, signed 32 bits.
|
| LONG | 5 |
Long integer, signed 64 bits.
|
| FLOAT | 6 |
Floating point decimal, signed 32 bits.
|
| DOUBLE | 7 |
Double precision decimal, signed 64 bits.
|
| UTF_STRING | 8 |
UTF-8 encoded string, with length up to 32 KBytes.
|
| BOOL_ARRAY | 9 |
Array of booleans.
|
| BYTE_ARRAY | 10 |
Array of bytes (treated as ByteArray).
|
| SHORT_ARRAY | 11 |
Array of shorts.
|
| INT_ARRAY | 12 |
Array of integers.
|
| LONG_ARRAY | 13 |
Array of long integers.
|
| FLOAT_ARRAY | 14 |
Array of floats.
|
| DOUBLE_ARRAY | 15 |
Array of Doubles.
|
| UTF_STRING_ARRAY | 16 |
Array of UTF-8 strings.
|
| SFS_ARRAY | 17 |
SFSArray.
|
| SFS_OBJECT | 18 |
SFSObject.
|
| CLASS | 19 |
Serialized class instance.
|
| TEXT | 20 |
UTF-8 encoded string, with length up to 2 GBytes.
|
See Also