Skip to main content
Module

x/compress/deps.ts>Buffer#write

compress and uncompress for Deno
Go to Latest
method Buffer.prototype.write
import { Buffer } from "https://deno.land/x/compress@v0.4.5/deps.ts";

NOTE: This methods writes bytes synchronously; it's provided for compatibility with Writer interface.

Parameters

p: Uint8Array

Returns

Promise<number>