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:
Joe Tsai 2015-10-29 09:40:41 -07:00
parent 6d2575eab3
commit 185cb9eada

View File

@ -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