arrayBuffer(source[, options])


  • source AsyncIterable|Iterable
  • options <Object>
    • signal <AbortSignal>
    • limit <number> 要消耗的最大字节数。如果收集的总字节数超过限制,将抛出 ERR_OUT_OF_RANGE 错误
  • 返回:Promise

将所有字节收集到 ArrayBuffer 中。

🌐 Collect all bytes into an ArrayBuffer.