deno / latest / ~ / deno.writeall.html

Deno.writeAll

deprecated

Write all the content of the array buffer (arr) to the writer (w).

@deprecated

Use writeAll from std/streams/conversion.ts instead. Deno.writeAll will be removed in the future.


    
function writeAll(w: Writer, arr: Uint8Array): Promise<void>;
writeAll(w: Writer, arr: Uint8Array): Promise<void>

Parameters

w: Writer
arr: Uint8Array

Return Type

Promise<void>

© 2018–2022 the Deno authors
https://doc.deno.land/deno/stable/~/Deno.writeAll