Class NBTInputStream

java.lang.Object
com.sk89q.jnbt.NBTInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public final class NBTInputStream extends Object implements Closeable
This class reads NBT, or Named Binary Tag streams, and produces an object graph of subclasses of the Tag object.

The NBT format was created by Markus Persson, and the specification may be found at https://minecraft.gamepedia.com/NBT_format.

  • Constructor Details

    • NBTInputStream

      public NBTInputStream(InputStream is)
      Creates a new NBTInputStream, which will source its data from the specified input stream.
      Parameters:
      is - the input stream
  • Method Details