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

x/fkm_nbt/nbt/StringNBTReader.ts>StringNBTReader

Node: https://www.npmjs.com/package/fkm-nbt Deno: https://deno.land/x/fkm_nbt
Latest
class StringNBTReader
import { StringNBTReader } from "https://deno.land/x/fkm_nbt@v0.1.0/nbt/StringNBTReader.ts";

Constructors

new
private
StringNBTReader(reader: StringReader)

Properties

private
reader: StringReader

Methods

private
expect(char: string): void
private
parsePrimitive(input: string): NBTElement
private
readArray<T>(typeReader: NBTType<NBTElement>): T[]
private
readComma(): boolean

Static Properties

private
BYTE_PATTERN: RegExp
private
DOUBLE_PATTERN: RegExp
private
DOUBLE_PATTERN_IMPLICIT: RegExp
private
FLOAT_PATTERN: RegExp
private
INT_PATTERN: RegExp
private
LONG_PATTERN: RegExp
private
SHORT_PATTERN: RegExp