import { NBTUtils } from "https://deno.land/x/fkm_nbt@v0.1.0/nbt/NBTUtils.ts";
Static Methods
private
hasBedrockLevelHeader(data: Uint8Array | number[]): booleanprivate
hasGzipHeader(data: Uint8Array | number[]): booleanprivate
readNBT(reader: BinaryReader): NBTElementprivate
writeNBT(tag: NBTElement, writer: BinaryWriter): voidbyId(id: number): NBTType<NBTElement>
jnbtToJSNBT(obj: JObjComp): JSObj
jnbtToJSNBT(obj: JObjList): JSObjArr
jnbtToNBT(obj: JObjComp): NBTCompound
jnbtToTreeView(obj: JObjComp): string
jnbtToTreeView(obj: JObjList): string
jsnbtToJNBT(obj: JSObj): JObjComp
jsnbtToJNBT(obj: JSObjArr): JObjList
jsnbtToNBT(obj: JSObj): NBTCompound
jsnbtToNBT(obj: JSObjArr): NBTList
jsnbtToTreeView(obj: JSObj): string
jsnbtToTreeView(obj: JSObjArr): string
nbtToJNBT(tag: NBTCompound): JObjComp
nbtToJSNBT(tag: NBTCompound): JSObj
nbtToJSNBT(tag: NBTList): JSObjArr
nbtToTreeView(tag: NBTElement)
read<T extends NBTElement = NBTCompound>(data: Uint8Array | number[], format?: Format): T
readCompressed<T extends NBTElement = NBTCompound>(data: Uint8Array | number[], format?: Format): T
snbtToJNBT(snbt: string): JObjComp | JObjList
snbtToJSNBT(snbt: string): JSObj | JSObjArr
snbtToNBT(snbt: string)
snbtToTreeView(snbt: string): string
write(): Uint8Array
writeCompressed(): Uint8Array