========================================================================= * Put a short in the pending buffer. The 16-bit value is put in MSB order. * IN assertion: the stream state is correct and there is enough room in * pending_buf. */
(s, b)
| 760 | * pending_buf. |
| 761 | */ |
| 762 | local void putShortMSB(s, b) |
| 763 | deflate_state* s; |
| 764 | |
| 765 | uInt b; |
| 766 | { |
| 767 | put_byte(s, (Byte)(b >> 8)); |
| 768 | put_byte(s, (Byte)(b & 0xff)); |
| 769 | } |
| 770 | |
| 771 | /* ========================================================================= |
| 772 | * Flush as much pending output as possible. All deflate() output, except for |