(buf, value, offset, min, max)
| 724 | } |
| 725 | |
| 726 | function writeU_Int16LE(buf, value, offset, min, max) { |
| 727 | value = +value; |
| 728 | checkInt(value, min, max, buf, offset, 1); |
| 729 | |
| 730 | buf[offset++] = value; |
| 731 | buf[offset++] = (value >>> 8); |
| 732 | return offset; |
| 733 | } |
| 734 | |
| 735 | function writeUInt16LE(value, offset = 0) { |
| 736 | return writeU_Int16LE(this, value, offset, 0, 0xffff); |
no test coverage detected
searching dependent graphs…