mc-anvil
Version:
A Typescript library for reading Minecraft Anvil format files and Minecraft NBT format files in the browser.
21 lines (20 loc) • 777 B
TypeScript
import { BinaryParser } from "./binary";
export declare class ResizableBinaryWriter extends BinaryParser {
private resize;
private setValue;
setArrayBuffer(value: ArrayBuffer): void;
setNByteInteger(value: number, size: number): void;
setByte: (value: number) => void;
setShort: (value: number) => void;
setUShort: (value: number) => void;
setInt: (value: number) => void;
setUInt: (value: number) => void;
setFloat: (value: number) => void;
setDouble: (value: number) => void;
setInt64: (value: bigint) => void;
setUInt64: (value: bigint) => void;
setInt64LE: (value: bigint) => void;
setUInt64LE: (value: bigint) => void;
setString: (value: string) => void;
setFixedLengthString: (value: string) => void;
}