MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / putShortMSB

Function putShortMSB

extlibs/minizip/src/deflate.c:762–769  ·  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. */

(s, b)

Source from the content-addressed store, hash-verified

760 * pending_buf.
761 */
762local void putShortMSB(s, b)
763deflate_state* s;
764
765uInt 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

Callers 1

deflateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected