To retrieve the contents of anDocumentation Index
Fetch the complete documentation index at: https://bun.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
ArrayBuffer as an array of numbers, create a Uint8Array over of the buffer. and use the Array.from() method to convert it to an array.
The
Uint8Array class supports array indexing and iteration. However if you wish to convert the instance to a regular Array, use Array.from(). (This will likely be slower than using the Uint8Array directly.)
See Docs > API > Binary Data for complete documentation on manipulating binary data with Bun.