(value, offset, byteLength)
| 847 | } |
| 848 | |
| 849 | function writeIntLE(value, offset, byteLength) { |
| 850 | if (byteLength === 6) |
| 851 | return writeU_Int48LE(this, value, offset, -0x800000000000, 0x7fffffffffff); |
| 852 | if (byteLength === 5) |
| 853 | return writeU_Int40LE(this, value, offset, -0x8000000000, 0x7fffffffff); |
| 854 | if (byteLength === 3) |
| 855 | return writeU_Int24LE(this, value, offset, -0x800000, 0x7fffff); |
| 856 | if (byteLength === 4) |
| 857 | return writeU_Int32LE(this, value, offset, -0x80000000, 0x7fffffff); |
| 858 | if (byteLength === 2) |
| 859 | return writeU_Int16LE(this, value, offset, -0x8000, 0x7fff); |
| 860 | if (byteLength === 1) |
| 861 | return writeU_Int8(this, value, offset, -0x80, 0x7f); |
| 862 | |
| 863 | boundsError(byteLength, 6, 'byteLength'); |
| 864 | } |
| 865 | |
| 866 | function writeInt32LE(value, offset = 0) { |
| 867 | return writeU_Int32LE(this, value, offset, -0x80000000, 0x7fffffff); |
nothing calls this directly
no test coverage detected
searching dependent graphs…