Skip to content
Last Updated
Mar 28, 2025, 03:08

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