Created
July 19, 2012 21:05
-
-
Save avsej/3146822 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| DATA_TYPE | |
| ========= | |
| +---------------+ | |
| |7 6 5 4 3 2 1 0| | |
| +---------------+ | |
| 00000000: RAW_BYTES | |
| 0-2: Serializers. | |
| They cannot be mixed, so there are 8 possible serializers: | |
| 0x0 (000): default serializer: none | |
| 0x1 (001): JSON | |
| 0x2 (010): Language specific | |
| 0x3 (011): unspecified | |
| 0x4 (100): unspecified | |
| 0x5 (101): unspecified | |
| 0x6 (110): unspecified | |
| 0x7 (111): unspecified | |
| 3-4: Compression. | |
| Compression also cannot be mixed, so there are 4 possible compressors: | |
| 0x0 (00): default compression: none | |
| 0x1 (01): zlib | |
| 0x2 (10): unspecified | |
| 0x3 (11): unspecified | |
| 5-7: Flags. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment