docs(readme): decoding the header

This commit is contained in:
Richard Schneider
2018-02-20 08:28:39 +13:00
committed by Steven Allen
parent 34c138b342
commit ee861b9797

View File

@@ -22,8 +22,8 @@ The header is an unsigned base128 varint, as defined in the [protocol buffers sp
```
header = readUvarint()
flag = head & 0x07
id = flag >> 3
flag = header & 0x07
id = header >> 3
```
### Flag Values