@@ 15031-15031 (lines=1) @@ | ||
15028 | return offset + 2 |
|
15029 | } |
|
15030 | ||
15031 | Buffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) { |
|
15032 | value = +value |
|
15033 | offset = offset | 0 |
|
15034 | if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000) |
|
@@ 15018-15018 (lines=1) @@ | ||
15015 | return offset + 1 |
|
15016 | } |
|
15017 | ||
15018 | Buffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) { |
|
15019 | value = +value |
|
15020 | offset = offset | 0 |
|
15021 | if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000) |