Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

BufferUtils.GrowableBuffer

import { BufferUtils } from "https://raw.githubusercontent.com/i-xi-dev/bytes.es/4.2.0/deps.ts"; 

const { GrowableBuffer } = BufferUtils;
deprecated
class GrowableBuffer {
constructor(size?: int);
get capacity(): int;
get position(): int;
 
put(bytes: BufferSource): void;
slice(begin?, end?: int): Uint8Array;
subarray(begin?, end?: int): Uint8Array;
}

§Constructors

§
new GrowableBuffer(size?: int)
[src]

§Properties

§
capacity: int readonly
[src]
§
position: int readonly
[src]

§Methods

§
put(bytes: BufferSource): void
[src]
§
slice(begin?, end?: int): Uint8Array
[src]
§
subarray(begin?, end?: int): Uint8Array
[src]