import { StringReader } from "https://deno.land/x/fkm_nbt@v0.1.0/utils/StringReader.ts";
Constructors
new
StringReader(other: StringReader)new
StringReader(string: string | StringReader)Methods
canRead(length?: number): boolean
expect(c: string): void
getCursor(): number
getRead(): string
getRemaining(): string
getRemainingLength(): number
getString(): string
getTotalLength(): number
peek(offset?: number): string
read(): string
readBoolean(): boolean
readDouble(): number
readFloat(): number
readInt(): number
readLong(): bigint
readQuotedString(): string
readString(): string
readStringUntil(terminator: string): string
readUnquotedString(): string
setCursor(cursor: number): void
skip(): void
skipWhitespace(): void
Static Methods
isAllowedInUnquotedString(c: string): boolean
isAllowedNumber(c: string): boolean
isQuotedStringStart(c: string): boolean
isWhitespace(c: string): boolean