Buffer class extends Uint8Array with a number of additional methods. Use Buffer.from() to create a Buffer instance from a Uint8Array.
See Docs > API > Binary Data for complete documentation on manipulating binary data with Bun.
Content-Length: 435860 | pFad | https://bun.com/guides/binary/typedarray-to-buffer
XBuffer class extends Uint8Array with a number of additional methods. Use Buffer.from() to create a Buffer instance from a Uint8Array.
Fetched URL: https://bun.com/guides/binary/typedarray-to-buffer
Alternative Proxies: