Difference between revisions of "Parameter types"

From Awesome Baozam
Jump to: navigation, search
 
(6 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
   5 int8
+
 
   6 uint8
+
   4 int8
   7 char
+
   5 uint8
 +
   char
 +
  7  hash
 
    
 
    
   9 int16
+
   8 int16
   10 uint16
+
   9 uint16
 
    
 
    
   13 int32  
+
   16 int32  
   14 uint32
+
   17 uint32
   15 float32
+
   18 float32
 
    
 
    
   17 int64  
+
   32 int64  
   18 uint64
+
   33 uint64
   19 float64
+
   34 float64
 
+
  128 arr
+

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