Interface BinaryTagType.Writer<T extends BinaryTag>

Type Parameters:
T - the tag type
Enclosing interface:
BinaryTagType<T extends BinaryTag>

public static interface BinaryTagType.Writer<T extends BinaryTag>
A binary tag writer.
Since:
4.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    write(T tag, DataOutput output)
    Writes a tag.
  • Method Details

    • write

      void write(T tag, DataOutput output) throws IOException
      Writes a tag.
      Parameters:
      tag - the tag to write
      output - the output to write to
      Throws:
      IOException - if an exception was encountered while writing
      Since:
      4.0.0