diff options
Diffstat (limited to 'brotli/dec/decode.h')
-rw-r--r-- | brotli/dec/decode.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/brotli/dec/decode.h b/brotli/dec/decode.h index 9182438..ec6d65e 100644 --- a/brotli/dec/decode.h +++ b/brotli/dec/decode.h @@ -26,6 +26,8 @@ extern "C" { #endif /* Sets *decoded_size to the decompressed size of the given encoded stream. */ +/* This function only works if the encoded buffer has a single meta block, */ +/* and this meta block must have the "is last" bit set. */ /* Returns 1 on success, 0 on failure. */ int BrotliDecompressedSize(size_t encoded_size, const uint8_t* encoded_buffer, |