Buffer class provides a built-in .toString() method that converts a Buffer to a string.
You can optionally specify an encoding and byte range.
See Docs > API > Binary Data for complete documentation on manipulating binary data with Bun.
Content-Length: 456682 | pFad | https://bun.com/guides/binary/buffer-to-string
XBuffer class provides a built-in .toString() method that converts a Buffer to a string.
Fetched URL: https://bun.com/guides/binary/buffer-to-string
Alternative Proxies: