(s, buf, stored_len, last)
| 23378 | * Send a stored block |
| 23379 | */ |
| 23380 | function _tr_stored_block(s, buf, stored_len, last) |
| 23381 | //DeflateState *s; |
| 23382 | //charf *buf; /* input block */ |
| 23383 | //ulg stored_len; /* length of input block */ |
| 23384 | //int last; /* one if this is the last block for a file */ |
| 23385 | { |
| 23386 | send_bits(s, (STORED_BLOCK << 1) + (last ? 1 : 0), 3); /* send block type */ |
| 23387 | copy_block(s, buf, stored_len, true); /* with header */ |
| 23388 | } |
| 23389 | |
| 23390 | |
| 23391 | /* =========================================================================== |
no test coverage detected