deno.com

function buffer

#buffer(stream:
WebReadableStream
| ReadableStream
| AsyncIterable<any>
): Promise<Buffer>

Parameters #

#stream:
WebReadableStream
| ReadableStream
| AsyncIterable<any>

Return Type #

Promise<Buffer>

Fulfills with a Buffer containing the full contents of the stream.