(value, offset, byteLength)
| 755 | } |
| 756 | |
| 757 | function writeUIntBE(value, offset, byteLength) { |
| 758 | if (byteLength === 6) |
| 759 | return writeU_Int48BE(this, value, offset, 0, 0xffffffffffff); |
| 760 | if (byteLength === 5) |
| 761 | return writeU_Int40BE(this, value, offset, 0, 0xffffffffff); |
| 762 | if (byteLength === 3) |
| 763 | return writeU_Int24BE(this, value, offset, 0, 0xffffff); |
| 764 | if (byteLength === 4) |
| 765 | return writeU_Int32BE(this, value, offset, 0, 0xffffffff); |
| 766 | if (byteLength === 2) |
| 767 | return writeU_Int16BE(this, value, offset, 0, 0xffff); |
| 768 | if (byteLength === 1) |
| 769 | return writeU_Int8(this, value, offset, 0, 0xff); |
| 770 | |
| 771 | boundsError(byteLength, 6, 'byteLength'); |
| 772 | } |
| 773 | |
| 774 | function writeU_Int48BE(buf, value, offset, min, max) { |
| 775 | value = +value; |
nothing calls this directly
no test coverage detected