Class ByteArrayTag

java.lang.Object
net.md_5.bungee.nbt.type.ByteArrayTag
All Implemented Interfaces:
Tag, TypedTag

public class ByteArrayTag extends Object implements TypedTag
  • Constructor Details

    • ByteArrayTag

      public ByteArrayTag()
  • Method Details

    • read

      public void read(DataInput input, NBTLimiter limiter) throws IOException
      Description copied from interface: Tag
      Reads the data into this tag.
      Specified by:
      read in interface Tag
      Parameters:
      input - the input to read from
      limiter - the limiter for this read operation
      Throws:
      IOException - if an exception occurs during io operations
    • write

      public void write(DataOutput output) throws IOException
      Description copied from interface: Tag
      Writes this tag into a DataOutput.
      Specified by:
      write in interface Tag
      Parameters:
      output - the output to write to
      Throws:
      IOException - if an exception occurs during io operations
    • getId

      public byte getId()
      Description copied from interface: TypedTag
      Gets the id of this tag's type.
      Specified by:
      getId in interface TypedTag
      Returns:
      the id related to this tag's type