Difference between revisions of "Parameter types"

From Awesome Baozam
Jump to: navigation, search
 
(4 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
 +
 
 
   4  int8
 
   4  int8
 
   5  uint8
 
   5  uint8
   6 char
+
   6 char
 +
  7  hash
 
    
 
    
 
   8  int16
 
   8  int16

Latest revision as of 08: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