(strm, head)
| 21936 | } |
| 21937 | |
| 21938 | function inflateGetHeader(strm, head) { |
| 21939 | var state; |
| 21940 | |
| 21941 | /* check state */ |
| 21942 | if (!strm || !strm.state) { return Z_STREAM_ERROR; } |
| 21943 | state = strm.state; |
| 21944 | if ((state.wrap & 2) === 0) { return Z_STREAM_ERROR; } |
| 21945 | |
| 21946 | /* save header structure */ |
| 21947 | state.head = head; |
| 21948 | head.done = false; |
| 21949 | return Z_OK; |
| 21950 | } |
| 21951 | |
| 21952 | function inflateSetDictionary(strm, dictionary) { |
| 21953 | var dictLength = dictionary.length; |
nothing calls this directly
no outgoing calls
no test coverage detected