File SystemStreams
Convert a ReadableStream to a string
Bun.readableStreamToText reads the contents of a ReadableStream into a string.
Convert a DataView to a string
If a DataView contains ASCII-encoded text, use the TextDecoder class to convert it to a string.
Convert a ReadableStream to JSON
Bun provides several conveniences for reading the contents of a ReadableStream into other formats. To read a stream and parse it as JSON, call its json()