Difference between revisions of "Parameter types"

From Awesome Baozam
Jump to: navigation, search
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
if  > 0 then it is followed by '''one''' value, else (<0) followed by count (see [[websocket lentgh]] rules) & followed by values
+
if  clear then it is followed by '''one''' value, else (type & 0x80 = 0x80) followed by count (see [[websocket lentgh]] rules) & followed by values
   1 int8
+
 
   2 uint8
+
   4 int8
   3 int16
+
   5 uint8
   4 uint16
+
   6  char
   5 int32
+
  7  hash
   6 uint32
+
 
   7 int64
+
  8 int16
   8 uint64
+
   9 uint16
   9 float32
+
    
   10 float64
+
  16 int32  
  11 char
+
   17 uint32
 +
   18 float32
 +
 
 +
   32 int64
 +
   33 uint64
 +
   34  float64

Latest revision as of 09:37, 19 September 2016

if clear then it is followed by one value, else (type & 0x80 = 0x80) followed by count (see websocket lentgh rules) & followed by values

 4  int8
 5  uint8
 6  char
 7  hash
 
 8  int16
 9  uint16
 
 16  int32 
 17  uint32
 18  float32
  
 32  int64 
 33  uint64
 34  float64