Unverified Commit 0d002893 authored by Vse Mozhet Byt's avatar Vse Mozhet Byt Committed by Anna Henningsen
Browse files

doc: fix examples in buffer.md to avoid confusion

On some systems, some first bytes of allocated buffer can be zeroed
by default, so the example doesn't work well - the buffer looks zeroed
even before the fill.

Fixes: https://github.com/nodejs/node/issues/9786
PR-URL: https://github.com/nodejs/node/pull/9795


Reviewed-By: default avatarSam Roberts <vieuxtech@gmail.com>
Reviewed-By: default avatarRoman Reiss <me@silverwind.io>
Reviewed-By: default avatarAnna Henningsen <anna@addaleax.net>
parent ae2b1968
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment