@@ -1033,7 +1033,8 @@ console.log(`${len} bytes: ${buf.toString('utf8', 0, len)}`);
10331033
10341034Writes ` value `  to the Buffer at the specified ` offset `  with specified endian
10351035format (` writeDoubleBE() `  writes big endian, ` writeDoubleLE() `  writes little
1036- endian). The ` value `  argument must be a valid 64-bit double.
1036+ endian). The ` value `  argument * should*  be a valid 64-bit double. Behavior is
1037+ not defined when ` value `  is anything other than a 64-bit double.
10371038
10381039Set ` noAssert `  to true to skip validation of ` value `  and ` offset ` . This means
10391040that ` value `  may be too large for the specific function and ` offset `  may be
@@ -1065,7 +1066,7 @@ console.log(buf);
10651066
10661067Writes ` value `  to the Buffer at the specified ` offset `  with specified endian
10671068format (` writeFloatBE() `  writes big endian, ` writeFloatLE() `  writes little
1068- endian). Behavior is unspecified if  ` value `  is anything other than a 32-bit
1069+ endian). Behavior is not defined when  ` value `  is anything other than a 32-bit
10691070float.
10701071
10711072Set ` noAssert `  to true to skip validation of ` value `  and ` offset ` . This means
@@ -1095,8 +1096,9 @@ console.log(buf);
10951096*  ` noAssert `  {Boolean} Default: false
10961097*  Return: {Number} The offset plus the number of written bytes
10971098
1098- Writes ` value `  to the Buffer at the specified ` offset ` . The ` value `  must be a
1099- valid signed 8-bit integer.
1099+ Writes ` value `  to the Buffer at the specified ` offset ` . The ` value `  should be a
1100+ valid signed 8-bit integer.  Behavior is not defined when ` value `  is anything
1101+ other than a signed 8-bit integer.
11001102
11011103Set ` noAssert `  to true to skip validation of ` value `  and ` offset ` . This means
11021104that ` value `  may be too large for the specific function and ` offset `  may be
@@ -1123,7 +1125,8 @@ console.log(buf);
11231125
11241126Writes ` value `  to the Buffer at the specified ` offset `  with specified endian
11251127format (` writeInt16BE() `  writes big endian, ` writeInt16LE() `  writes little
1126- endian). The ` value `  must be a valid signed 16-bit integer.
1128+ endian). The ` value `  should be a valid signed 16-bit integer. Behavior is
1129+ not defined when ` value `  is anything other than a signed 16-bit integer.
11271130
11281131Set ` noAssert `  to true to skip validation of ` value `  and ` offset ` . This means
11291132that ` value `  may be too large for the specific function and ` offset `  may be
@@ -1150,7 +1153,8 @@ console.log(buf);
11501153
11511154Writes ` value `  to the Buffer at the specified ` offset `  with specified endian
11521155format (` writeInt32BE() `  writes big endian, ` writeInt32LE() `  writes little
1153- endian). The ` value `  must be a valid signed 32-bit integer.
1156+ endian). The ` value `  should be a valid signed 32-bit integer. Behavior is
1157+ not defined when ` value `  is anything other than a signed 32-bit integer.
11541158
11551159Set ` noAssert `  to true to skip validation of ` value `  and ` offset ` . This means
11561160that ` value `  may be too large for the specific function and ` offset `  may be
@@ -1196,15 +1200,18 @@ that `value` may be too large for the specific function and `offset` may be
11961200beyond the end of the Buffer leading to the values being silently dropped. This
11971201should not be used unless you are certain of correctness.
11981202
1203+ Behavior is not defined when ` value `  is anything other than an integer.
1204+ 
11991205### buf.writeUInt8(value, offset[ , noAssert] )  
12001206
12011207*  ` value `  {Number} Bytes to be written to Buffer
12021208*  ` offset `  {Number} ` 0 <= offset <= buf.length - 1 ` 
12031209*  ` noAssert `  {Boolean} Default: false
12041210*  Return: {Number} The offset plus the number of written bytes
12051211
1206- Writes ` value `  to the Buffer at the specified ` offset ` . The ` value `  must be a
1207- valid unsigned 8-bit integer.
1212+ Writes ` value `  to the Buffer at the specified ` offset ` . The ` value `  should be a
1213+ valid unsigned 8-bit integer.  Behavior is not defined when ` value `  is anything
1214+ other than an unsigned 8-bit integer.
12081215
12091216Set ` noAssert `  to true to skip validation of ` value `  and ` offset ` . This means
12101217that ` value `  may be too large for the specific function and ` offset `  may be
@@ -1234,7 +1241,8 @@ console.log(buf);
12341241
12351242Writes ` value `  to the Buffer at the specified ` offset `  with specified endian
12361243format (` writeUInt16BE() `  writes big endian, ` writeUInt16LE() `  writes little
1237- endian). The ` value `  must be a valid unsigned 16-bit integer.
1244+ endian). The ` value `  should be a valid unsigned 16-bit integer. Behavior is
1245+ not defined when ` value `  is anything other than an unsigned 16-bit integer.
12381246
12391247Set ` noAssert `  to true to skip validation of ` value `  and ` offset ` . This means
12401248that ` value `  may be too large for the specific function and ` offset `  may be
@@ -1268,7 +1276,8 @@ console.log(buf);
12681276
12691277Writes ` value `  to the Buffer at the specified ` offset `  with specified endian
12701278format (` writeUInt32BE() `  writes big endian, ` writeUInt32LE() `  writes little
1271- endian). The ` value `  must be a valid unsigned 32-bit integer.
1279+ endian). The ` value `  should be a valid unsigned 32-bit integer. Behavior is
1280+ not defined when ` value `  is anything other than an unsigned 32-bit integer.
12721281
12731282Set ` noAssert `  to true to skip validation of ` value `  and ` offset ` . This means
12741283that ` value `  may be too large for the specific function and ` offset `  may be
@@ -1314,6 +1323,8 @@ that `value` may be too large for the specific function and `offset` may be
13141323beyond the end of the Buffer leading to the values being silently dropped. This
13151324should not be used unless you are certain of correctness.
13161325
1326+ Behavior is not defined when ` value `  is anything other than an unsigned integer.
1327+ 
13171328## buffer.INSPECT_MAX_BYTES  
13181329
13191330*  {Number} Default: 50
0 commit comments