Skip to content

Commit c83b1a8

Browse files
committed
Updated serialization format info; updated deps
1 parent 86c75e7 commit c83b1a8

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ const type = new sb.StructType({
311311
3 /*3 floats in the tuple*/,
312312
3 /*3 characters in second field's name*/, 0x74 /*t*/, 0x77 /*w*/, 0x6f /*o*/,
313313
0xff, /*type is defined previously*/
314-
0, 11 /*type is defined 11 bytes before the 0 on this line*/
314+
8 /*type is defined 8 bytes before this byte*/
315315
]
316316
````
317317
In the following definitions, `type` means the binary type format.
@@ -326,6 +326,7 @@ In the following definitions, `type` means the binary type format.
326326
- `UnsignedIntType`: identifier `0x13`
327327
- `UnsignedLongType`: identifier `0x14`
328328
- `BigUnsignedIntType`: identifier `0x15`
329+
- `FlexUnsignedIntType`: identifier `0x17`
329330
- `DateType`: identifier `0x1A`
330331
- `DayType`: identifier `0x1B`
331332
- `TimeType`: identifier `0x1C`
@@ -394,6 +395,7 @@ In the following definitions, `type` means the binary type format.
394395
- `BigUnsignedIntType`:
395396
- `byteCount` - `flexInt`
396397
- `number` - `byteCount`-byte unsigned integer
398+
- `FlexUnsignedIntType`: `flexInt`
397399
- `DateType`: 8-byte unsigned integer storing milliseconds in [Unix time](https://en.wikipedia.org/wiki/Unix_time)
398400
- `DayType`: 3-byte unsigned integer storing days since the [Unix time](https://en.wikipedia.org/wiki/Unix_time) epoch
399401
- `TimeType`: 4-byte unsigned integer storing milliseconds since the start of the day

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
"babel-preset-es2015": "6.18.x",
1515
"browserify": "13.3.x",
1616
"coveralls": "2.11.x",
17-
"google-closure-compiler-js": "20161201.0.0",
18-
"nyc": "10.0.x",
17+
"google-closure-compiler-js": "20161201.0.1",
18+
"nyc": "10.1.x",
1919
"simultaneity": "1.1.x"
2020
},
2121
"directories": {

0 commit comments

Comments
 (0)