Skip to content

Class ReadContext

🏭 Constructors

constructor

ts
new ReadContext(schema: undefined | Schema, tagType: TagType): ReadContext

Parameters

  • schema: undefined | Schema
  • tagType: TagType

Return Type

  • ReadContext

Defined in: packages/nbt/index.ts:509

🏷️ Properties

#decoder private

ts
#decoder: undefined | TextDecoder

Defined in: packages/nbt/index.ts:508

inspect public

ts
inspect: undefined | Schema

Defined in: packages/nbt/index.ts:507

schema public

ts
schema: undefined | Schema

Defined in: packages/nbt/index.ts:509

tagType public

ts
tagType: TagType

Defined in: packages/nbt/index.ts:509

🔑 Accessors

decoder

Defined in: packages/nbt/index.ts:511

🔧 Methods

fork

ts
fork(schemaOrTagType: TagType | Schema): ReadContext

Parameters

  • schemaOrTagType: TagType | Schema

Return Type

  • ReadContext

Defined in: packages/nbt/index.ts:518