mirror of
https://github.com/google/brotli.git
synced 2024-11-21 19:20:09 +00:00
Define the maximum number of bytes transforms may add to a word
* This value is useful in implementing the decoder since we can know ahead-of-time what size buffer is needed to contain the output of a transformed word.
This commit is contained in:
parent
6d2575eab3
commit
185cb9eada
@ -1387,6 +1387,11 @@ Note that the OmitFirst8 elementary transform is not used in the list
|
||||
of transformations. The strings in Appendix B. are in C string format
|
||||
with respect to escape (backslash) characters.
|
||||
|
||||
The maximum number of additional bytes that a transform may add to a
|
||||
base word is 13. Since the largest base word is 24 bytes long, a buffer
|
||||
of 38 bytes is sufficient to store any transformed words
|
||||
(counting a terminating zero byte).
|
||||
|
||||
.ti 0
|
||||
9. Compressed data format
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user