code: function put_short(w) {
  		w &= 0xffff;
  		if (outoff + outcnt < OUTBUFSIZ - 2) {
  			outbuf[outoff + outcnt++] = (w & 0xff);
  			outbuf[outoff + outcnt++] = (w >>> 8);
  		} else {
  			put_byte(w & 0xff);
  			put_byte(w >>> 8);
  		}
  	}
docs: /* Output a 16 bit value, lsb first