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

ts
#decoder: undefined | TextDecoder

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

inspect

ts
inspect: undefined | Schema

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

schema

ts
schema: undefined | Schema

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

tagType

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

Released under the MIT License.