MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / putShortMSB

Function putShortMSB

extern/zlib/src/deflate.c:904–907  ·  view source on GitHub ↗

========================================================================= * 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. */

Source from the content-addressed store, hash-verified

902 * pending_buf.
903 */
904local void putShortMSB(deflate_state *s, uInt b) {
905 put_byte(s, (Byte)(b >> 8));
906 put_byte(s, (Byte)(b & 0xff));
907}
908
909/* =========================================================================
910 * Flush as much pending output as possible. All deflate() output, except for

Callers 1

deflateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected