@@ -1398,7 +1398,7 @@ console.log(`${len} bytes: ${buf.toString('utf8', 0, len)}`);
1398
1398
Writes ` value ` to the Buffer at the specified ` offset ` with specified endian
1399
1399
format (` writeDoubleBE() ` writes big endian, ` writeDoubleLE() ` writes little
1400
1400
endian). The ` value ` argument * should* be a valid 64-bit double. Behavior is
1401
- unspecified if ` value ` is anything other than a 64-bit double.
1401
+ not defined when ` value ` is anything other than a 64-bit double.
1402
1402
1403
1403
Set ` noAssert ` to true to skip validation of ` value ` and ` offset ` . This means
1404
1404
that ` value ` may be too large for the specific function and ` offset ` may be
@@ -1430,7 +1430,7 @@ console.log(buf);
1430
1430
1431
1431
Writes ` value ` to the Buffer at the specified ` offset ` with specified endian
1432
1432
format (` writeFloatBE() ` writes big endian, ` writeFloatLE() ` writes little
1433
- endian). Behavior is unspecified if ` value ` is anything other than a 32-bit
1433
+ endian). Behavior is not defined when ` value ` is anything other than a 32-bit
1434
1434
float.
1435
1435
1436
1436
Set ` noAssert ` to true to skip validation of ` value ` and ` offset ` . This means
@@ -1461,7 +1461,7 @@ console.log(buf);
1461
1461
* Return: {Number} The offset plus the number of written bytes
1462
1462
1463
1463
Writes ` value ` to the Buffer at the specified ` offset ` . The ` value ` should be a
1464
- valid signed 8-bit integer. Behavior is unspecified if ` value ` is anything
1464
+ valid signed 8-bit integer. Behavior is not defined when ` value ` is anything
1465
1465
other than a signed 8-bit integer.
1466
1466
1467
1467
Set ` noAssert ` to true to skip validation of ` value ` and ` offset ` . This means
@@ -1490,7 +1490,7 @@ console.log(buf);
1490
1490
Writes ` value ` to the Buffer at the specified ` offset ` with specified endian
1491
1491
format (` writeInt16BE() ` writes big endian, ` writeInt16LE() ` writes little
1492
1492
endian). The ` value ` should be a valid signed 16-bit integer. Behavior is
1493
- unspecified if ` value ` is anything other than a signed 16-bit integer.
1493
+ not defined when ` value ` is anything other than a signed 16-bit integer.
1494
1494
1495
1495
Set ` noAssert ` to true to skip validation of ` value ` and ` offset ` . This means
1496
1496
that ` value ` may be too large for the specific function and ` offset ` may be
@@ -1518,7 +1518,7 @@ console.log(buf);
1518
1518
Writes ` value ` to the Buffer at the specified ` offset ` with specified endian
1519
1519
format (` writeInt32BE() ` writes big endian, ` writeInt32LE() ` writes little
1520
1520
endian). The ` value ` should be a valid signed 32-bit integer. Behavior is
1521
- unspecified if ` value ` is anything other than a signed 32-bit integer.
1521
+ not defined when ` value ` is anything other than a signed 32-bit integer.
1522
1522
1523
1523
Set ` noAssert ` to true to skip validation of ` value ` and ` offset ` . This means
1524
1524
that ` value ` may be too large for the specific function and ` offset ` may be
@@ -1564,7 +1564,7 @@ that `value` may be too large for the specific function and `offset` may be
1564
1564
beyond the end of the Buffer leading to the values being silently dropped. This
1565
1565
should not be used unless you are certain of correctness.
1566
1566
1567
- Behavior is unspecified if ` value ` is anything other than an integer.
1567
+ Behavior is not defined when ` value ` is anything other than an integer.
1568
1568
1569
1569
### buf.writeUInt8(value, offset[ , noAssert] )
1570
1570
@@ -1574,7 +1574,7 @@ Behavior is unspecified if `value` is anything other than an integer.
1574
1574
* Return: {Number} The offset plus the number of written bytes
1575
1575
1576
1576
Writes ` value ` to the Buffer at the specified ` offset ` . The ` value ` should be a
1577
- valid unsigned 8-bit integer. Behavior is unspecified if ` value ` is anything
1577
+ valid unsigned 8-bit integer. Behavior is not defined when ` value ` is anything
1578
1578
other than an unsigned 8-bit integer.
1579
1579
1580
1580
Set ` noAssert ` to true to skip validation of ` value ` and ` offset ` . This means
@@ -1606,7 +1606,7 @@ console.log(buf);
1606
1606
Writes ` value ` to the Buffer at the specified ` offset ` with specified endian
1607
1607
format (` writeUInt16BE() ` writes big endian, ` writeUInt16LE() ` writes little
1608
1608
endian). The ` value ` should be a valid unsigned 16-bit integer. Behavior is
1609
- unspecified if ` value ` is anything other than an unsigned 16-bit integer.
1609
+ not defined when ` value ` is anything other than an unsigned 16-bit integer.
1610
1610
1611
1611
Set ` noAssert ` to true to skip validation of ` value ` and ` offset ` . This means
1612
1612
that ` value ` may be too large for the specific function and ` offset ` may be
@@ -1641,7 +1641,7 @@ console.log(buf);
1641
1641
Writes ` value ` to the Buffer at the specified ` offset ` with specified endian
1642
1642
format (` writeUInt32BE() ` writes big endian, ` writeUInt32LE() ` writes little
1643
1643
endian). The ` value ` should be a valid unsigned 32-bit integer. Behavior is
1644
- unspecified if ` value ` is anything other than an unsigned 32-bit integer.
1644
+ not defined when ` value ` is anything other than an unsigned 32-bit integer.
1645
1645
1646
1646
Set ` noAssert ` to true to skip validation of ` value ` and ` offset ` . This means
1647
1647
that ` value ` may be too large for the specific function and ` offset ` may be
@@ -1687,7 +1687,7 @@ that `value` may be too large for the specific function and `offset` may be
1687
1687
beyond the end of the Buffer leading to the values being silently dropped. This
1688
1688
should not be used unless you are certain of correctness.
1689
1689
1690
- Behavior is unspecified if ` value ` is anything other than an unsigned integer.
1690
+ Behavior is not defined when ` value ` is anything other than an unsigned integer.
1691
1691
1692
1692
## buffer.INSPECT_MAX_BYTES
1693
1693
0 commit comments