MCPcopy Create free account
hub / github.com/hoothin/UserScripts / put_short

Function put_short

Picviewer CE+/dist.user.js:10554–10559  ·  view source on GitHub ↗
(s, w)

Source from the content-addressed store, hash-verified

10552 * IN assertion: there is enough room in pendingBuf.
10553 */
10554function put_short(s, w) {
10555// put_byte(s, (uch)((w) & 0xff));
10556// put_byte(s, (uch)((ush)(w) >> 8));
10557 s.pending_buf[s.pending++] = (w) & 0xff;
10558 s.pending_buf[s.pending++] = (w >>> 8) & 0xff;
10559}
10560
10561
10562/* ===========================================================================

Callers 4

send_bitsFunction · 0.70
bi_flushFunction · 0.70
bi_windupFunction · 0.70
copy_blockFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected