@@ -1398,7 +1398,7 @@ console.log(`${len} bytes: ${buf.toString('utf8', 0, len)}`);
13981398Writes ` value ` to the Buffer at the specified ` offset ` with specified endian
13991399format (` writeDoubleBE() ` writes big endian, ` writeDoubleLE() ` writes little
14001400endian). 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.
14021402
14031403Set ` noAssert ` to true to skip validation of ` value ` and ` offset ` . This means
14041404that ` value ` may be too large for the specific function and ` offset ` may be
@@ -1430,7 +1430,7 @@ console.log(buf);
14301430
14311431Writes ` value ` to the Buffer at the specified ` offset ` with specified endian
14321432format (` 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
14341434float.
14351435
14361436Set ` noAssert ` to true to skip validation of ` value ` and ` offset ` . This means
@@ -1461,7 +1461,7 @@ console.log(buf);
14611461* Return: {Number} The offset plus the number of written bytes
14621462
14631463Writes ` 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
14651465other than a signed 8-bit integer.
14661466
14671467Set ` noAssert ` to true to skip validation of ` value ` and ` offset ` . This means
@@ -1490,7 +1490,7 @@ console.log(buf);
14901490Writes ` value ` to the Buffer at the specified ` offset ` with specified endian
14911491format (` writeInt16BE() ` writes big endian, ` writeInt16LE() ` writes little
14921492endian). 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.
14941494
14951495Set ` noAssert ` to true to skip validation of ` value ` and ` offset ` . This means
14961496that ` value ` may be too large for the specific function and ` offset ` may be
@@ -1518,7 +1518,7 @@ console.log(buf);
15181518Writes ` value ` to the Buffer at the specified ` offset ` with specified endian
15191519format (` writeInt32BE() ` writes big endian, ` writeInt32LE() ` writes little
15201520endian). 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.
15221522
15231523Set ` noAssert ` to true to skip validation of ` value ` and ` offset ` . This means
15241524that ` 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
15641564beyond the end of the Buffer leading to the values being silently dropped. This
15651565should not be used unless you are certain of correctness.
15661566
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.
15681568
15691569### buf.writeUInt8(value, offset[ , noAssert] )
15701570
@@ -1574,7 +1574,7 @@ Behavior is unspecified if `value` is anything other than an integer.
15741574* Return: {Number} The offset plus the number of written bytes
15751575
15761576Writes ` 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
15781578other than an unsigned 8-bit integer.
15791579
15801580Set ` noAssert ` to true to skip validation of ` value ` and ` offset ` . This means
@@ -1606,7 +1606,7 @@ console.log(buf);
16061606Writes ` value ` to the Buffer at the specified ` offset ` with specified endian
16071607format (` writeUInt16BE() ` writes big endian, ` writeUInt16LE() ` writes little
16081608endian). 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.
16101610
16111611Set ` noAssert ` to true to skip validation of ` value ` and ` offset ` . This means
16121612that ` value ` may be too large for the specific function and ` offset ` may be
@@ -1641,7 +1641,7 @@ console.log(buf);
16411641Writes ` value ` to the Buffer at the specified ` offset ` with specified endian
16421642format (` writeUInt32BE() ` writes big endian, ` writeUInt32LE() ` writes little
16431643endian). 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.
16451645
16461646Set ` noAssert ` to true to skip validation of ` value ` and ` offset ` . This means
16471647that ` 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
16871687beyond the end of the Buffer leading to the values being silently dropped. This
16881688should not be used unless you are certain of correctness.
16891689
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.
16911691
16921692## buffer.INSPECT_MAX_BYTES
16931693
0 commit comments