Updated binary_Serialization (markdown)

Juan Linietsky
2015-03-27 09:42:39 -03:00
parent 93e8551e48
commit 3805b9e371

@ -45,16 +45,55 @@ Following this is the actual packet contents, which varies for each type of pack
### 0: null
### 1: bool
Offset | Len | Type | Description
---|---|---|---
4|4|Integer| 0 for False, 1 for True
### 2: integer
Offset | Len | Type | Description
---|---|---|---
4|4|Integer| Signed, 32-Bit Integer
### 3: float
Offset | Len | Type | Description
---|---|---|---
4|4|Float| IEE 754 32-Bits Float
### 4: string
Offset | Len | Type | Description
---|---|---|---
4|4|Integer| String Length (in Bytes)
8|X|Bytes| UTF-8 Encoded String
### 5: vector2
Offset | Len | Type | Description
---|---|---|---
4|4|Float| X Coordinate
8|4|Float| Y Coordinate
### 6: rect2
Offset | Len | Type | Description
---|---|---|---
4|4|Float| X Coordinate
8|4|Float| Y Coordinate
12|4|Float| X Size
16|4|Float| Y Size
### 7: vector3
Offset | Len | Type | Description
---|---|---|---
4|4|Float| X Coordinate
8|4|Float| Y Coordinate
12|4|Float| Z Coordinate
### 8: matrix32
### 9: plane
### 10: quaternion