DenoBuffer
import { DenoBuffer } from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.28.2/nats-base-client/internal_mod.ts";
class DenoBuffer implements Reader, Writer { }
constructor(ab?: ArrayBuffer);
_buf: Uint8Array;
_off: number;
get length(): number;
get capacity(): number;
_grow(n: number): number;
_reslice(len: number): void;
_tryGrowByReslice(n: number): number;
bytes(options?: {
copy?: boolean;
}): Uint8Array;empty(): boolean;
grow(n: number): void;
read(p: Uint8Array): number | null;
readByte(): number | null;
readFrom(r: Reader): number;
reset(): void;
truncate(n: number): void;
write(p: Uint8Array): number;
writeByte(n: number): number;
writeString(s: string): number;