In The Protocol Length Signs Range of Values: Data Types
In The Protocol Length Signs Range of Values: Data Types
in the
Length Signs Range of values
HTTP
Protocol
Bool
Char
1 bytes Yes
-128 to 127
Byte
1 bytes No
0 to 255
Int
2 bytes Yes
-32768 to 32767
UInt
2 bytes No
0 to 65535
Long
4 bytes Yes
-2,147,483,648 to 2,147,483,647
ULong
4 bytes No
0 to 4,294,967,295
4 bytes Yes
-3.402823E38 to -1.401298E-45
for negative values and
1.401298E-45 to 3.402823E38 for
positive values
Double
8 bytes Yes
-1.79769313486231E308 to
-4.94065645841247E-324 for
negative values and
4.94065645841247E-324 to
1.79769313486232E308 for
positive values
String
1 to
255
byte
DateTime
8 bytes
Float
No
1.1.1970 00:00:00 up to
31.12.2037 23:59:59