Skip to content

Interface TagCoder

🔧 Methods

read

ts
read(buf: ByteBuffer, value: any, context: WriteContext): void

Parameters

  • buf: ByteBuffer
  • value: any
  • context: WriteContext

Return Type

  • void

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

write

ts
write(buf: ByteBuffer, context: ReadContext): any

Parameters

  • buf: ByteBuffer
  • context: ReadContext

Return Type

  • any

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