From 21ff566d69bb965093da2b98895bc6894ebed920 Mon Sep 17 00:00:00 2001 From: Imgodmaoyouknow <55078436+Imgodmaoyouknow@users.noreply.github.com> Date: Tue, 9 Jul 2024 16:44:47 +0800 Subject: [PATCH] chore(docs): fix wrongly written at binary-data.md (#12452) --- docs/api/binary-data.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/binary-data.md b/docs/api/binary-data.md index 864ef9db0e..dc0ae601eb 100644 --- a/docs/api/binary-data.md +++ b/docs/api/binary-data.md @@ -395,7 +395,7 @@ Bun implements `Buffer`, a Node.js API for working with binary data that pre-dat ```ts const buf = Buffer.from("hello world"); -// => Buffer(16) [ 116, 104, 105, 115, 32, 105, 115, 32, 97, 32, 115, 116, 114, 105, 110, 103 ] +// => Buffer(11) [ 104, 101, 108, 108, 111, 32, 119, 111, 114, 108, 100 ] buf.length; // => 11 buf[0]; // => 104, ascii for 'h'