将 Blob 转换为 ReadableStreamBlob 类提供了多种以不同格式读取其内容的方法,包括返回 ReadableStream 的 .stream()。 TypeScript复制const blob = new Blob(["hello world"]); const stream = blob.stream(); 参见二进制数据。