diff --git a/docs/api/binary-data.md b/docs/api/binary-data.md index 864ef9db0e6b6..dc0ae601eb1f7 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'