Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/s3si/deps.ts>io.BufWriter#write

Export your battles from SplatNet to https://stat.ink
Go to Latest
method io.BufWriter.prototype.write
import { io } from "https://deno.land/x/s3si@gui-v0.4.16/deps.ts";
const { BufWriter } = io;

Writes the contents of data into the buffer. If the contents won't fully fit into the buffer, those bytes that are copied into the buffer will be flushed to the writer and the remaining bytes are then copied into the now empty buffer.

Parameters

data: Uint8Array

Returns

Promise<number>

the number of bytes written to the buffer.