doc: minor improvements to buffer.md
PR-URL: https://github.com/nodejs/node/pull/19547 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
This commit is contained in:
parent
d4b3fcba71
commit
f4f999f261
@ -18,9 +18,9 @@ use cases.
|
||||
Instances of the `Buffer` class are similar to arrays of integers but
|
||||
correspond to fixed-sized, raw memory allocations outside the V8 heap.
|
||||
The size of the `Buffer` is established when it is created and cannot be
|
||||
resized.
|
||||
changed.
|
||||
|
||||
The `Buffer` class is a global within Node.js, making it unlikely that one
|
||||
The `Buffer` class is within the global scope, making it unlikely that one
|
||||
would need to ever use `require('buffer').Buffer`.
|
||||
|
||||
```js
|
||||
|
Loading…
x
Reference in New Issue
Block a user