跳到主内容
@wquguru
精选75Cloudflare Sandbox SDK(GitHub Releases)云与平台

Cloudflare Sandbox SDK v0.10.1:readFile

@cloudflare/[email protected]

原文
发到 X

Patch Changes

  • #683 718d4e7 Thanks @aron-cf! - readFile now accepts encoding: 'none' on the rpc transport, returning a result whose content is a ReadableStream<Uint8Array> of raw binary data with no base64 encoding or buffering. Mirrors the existing writeFile support for ReadableStream input.
代码 · 5
// Stream a binary file without buffering or base64 overhead (rpc transport only)
const { content, size, mimeType } = await sandbox.readFile(
  '/workspace/image.png',
  { encoding: 'none' }
);

更进一步:量化金融体系

看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力

进入量化体系 →

相似阅读

另一事件,读法相近