本页还没有译文
本页 4 段还没译成日本語,下面显示的是英文原文。Convert a ReadableStream to a string
还没翻译译自英文(bun.com)本页 4 段都还没译
Bun provides several conveniences for reading the contents of a ReadableStream into other formats. To read a stream into a string, call its text() method.
const stream = new ReadableStream();
const str = await stream.text();Bun.readableStreamToText(stream) does the same thing, but is deprecated in favor of stream.text().
AI 翻译查看英文原文