@@ -5340,28 +5340,6 @@ console.log(newBuf.toString('ascii'));
53405340Because the Euro (` € ` ) sign is not representable in US-ASCII, it is replaced
53415341with ` ? ` in the transcoded ` Buffer ` .
53425342
5343- ### Class: ` SlowBuffer `
5344-
5345- <!-- YAML
5346- deprecated: v6.0.0
5347- -->
5348-
5349- > Stability: 0 - Deprecated: Use [ ` Buffer.allocUnsafeSlow() ` ] [ ] instead.
5350-
5351- See [ ` Buffer.allocUnsafeSlow() ` ] [ ] . This was never a class in the sense that
5352- the constructor always returned a ` Buffer ` instance, rather than a ` SlowBuffer `
5353- instance.
5354-
5355- #### ` new SlowBuffer(size) `
5356-
5357- <!-- YAML
5358- deprecated: v6.0.0
5359- -->
5360-
5361- * ` size ` {integer} The desired length of the new ` SlowBuffer ` .
5362-
5363- See [ ` Buffer.allocUnsafeSlow() ` ] [ ] .
5364-
53655343### Buffer constants
53665344
53675345<!-- YAML
@@ -5494,11 +5472,11 @@ added: v5.10.0
54945472
54955473Node.js can be started using the ` --zero-fill-buffers ` command-line option to
54965474cause all newly-allocated ` Buffer ` instances to be zero-filled upon creation by
5497- default. Without the option, buffers created with [ ` Buffer.allocUnsafe() ` ] [ ] ,
5498- [ ` Buffer.allocUnsafeSlow() ` ] [ ] , and ` new SlowBuffer(size) ` are not zero-filled.
5499- Use of this flag can have a measurable negative impact on performance. Use the
5500- ` --zero-fill-buffers ` option only when necessary to enforce that newly allocated
5501- ` Buffer ` instances cannot contain old data that is potentially sensitive.
5475+ default. Without the option, buffers created with [ ` Buffer.allocUnsafe() ` ] [ ] and
5476+ [ ` Buffer.allocUnsafeSlow() ` ] [ ] are not zero-filled. Use of this flag can have a
5477+ measurable negative impact on performance. Use the ` --zero-fill-buffers ` option
5478+ only when necessary to enforce that newly allocated ` Buffer ` instances cannot
5479+ contain old data that is potentially sensitive.
55025480
55035481``` console
55045482$ node --zero-fill-buffers
0 commit comments