-
I work upon porting stb libs to other languages and have a small question regarding this line:
There are only 30 values in the initializer list, while the array's declared size is 32. |
Beta Was this translation helpful? Give feedback.
Answered by
nothings
Dec 26, 2021
Replies: 1 comment 1 reply
-
The definition of DEFLATE defines 30 entries in that table. It is unclear if there is a reason the array is declared as 32 long. The C code will initialize the extra values to 0. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
rds1983
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The definition of DEFLATE defines 30 entries in that table. It is unclear if there is a reason the array is declared as 32 long. The C code will initialize the extra values to 0.