Skip to content

Commit

Permalink
chore(docs): fix wrongly written at binary-data.md (#12452)
Browse files Browse the repository at this point in the history
  • Loading branch information
Imgodmaoyouknow authored Jul 9, 2024
1 parent a36a01e commit 21ff566
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/binary-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 21ff566

Please sign in to comment.