X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=thirdparty%2Fsnappy%2Fformat_description.txt;fp=thirdparty%2Fsnappy%2Fformat_description.txt;h=20db66c1f26b3f1850d7105344bc43216cbda7fb;hb=af0f4f9483fc9aef4d3af914d80d56b560272dcb;hp=43d7a98238c4b3518fd63c6fc9291a4d41493e16;hpb=df1a1816c13e6fcdf63a45c973f09f04af318073;p=apitrace diff --git a/thirdparty/snappy/format_description.txt b/thirdparty/snappy/format_description.txt index 43d7a98..20db66c 100644 --- a/thirdparty/snappy/format_description.txt +++ b/thirdparty/snappy/format_description.txt @@ -1,5 +1,5 @@ Snappy compressed format description -Last revised: 2011-08-09 +Last revised: 2011-10-05 This is not a formal specification, but should suffice to explain most @@ -21,8 +21,8 @@ The stream starts with the uncompressed length (up to a maximum of 2^32 - 1), stored as a little-endian varint. Varints consist of a series of bytes, where the lower 7 bits are data and the upper bit is set iff there are more bytes to be read. In other words, an uncompressed length of 64 would -be stored as 0x40, and an uncompressed length of 2097151 (0x1FFFFF) -would be stored as 0xFF 0xFF 0x7F. +be stored as 0x40, and an uncompressed length of 2097150 (0x1FFFFE) +would be stored as 0xFE 0xFF 0x7F. 2. The compressed stream itself