Created
October 16, 2020 08:45
-
-
Save clockworkgr/03118ea2fa983468465b4d786e790bb5 to your computer and use it in GitHub Desktop.
Primitive types and functions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In use: | |
uint8 | |
uint16 | |
uint32 | |
uint64 | |
int64 | |
varint32 | |
varuint64 | |
time_point_sec => (uint32 timestamp) | |
bytes(length) => length bytes | |
bool => single byte | |
set() => varint32 length of set then each set element | |
map() => | |
optional() => single byte to signify existence (0 or 1) . if 1 followed by optional element | |
array() => varint32 length of array then each array element |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment