(s, buf, stored_len, last)
| 11396 | * Send a stored block |
| 11397 | */ |
| 11398 | function _tr_stored_block(s, buf, stored_len, last) |
| 11399 | //DeflateState *s; |
| 11400 | //charf *buf; /* input block */ |
| 11401 | //ulg stored_len; /* length of input block */ |
| 11402 | //int last; /* one if this is the last block for a file */ |
| 11403 | { |
| 11404 | send_bits(s, (STORED_BLOCK << 1) + (last ? 1 : 0), 3); /* send block type */ |
| 11405 | copy_block(s, buf, stored_len, true); /* with header */ |
| 11406 | } |
| 11407 | |
| 11408 | |
| 11409 | /* =========================================================================== |
no test coverage detected