Interface BinaryTagType.Reader<T extends BinaryTag>

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

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

    Modifier and Type
    Method
    Description
    read(DataInput input)
    Reads a tag.
  • Method Details

    • read

      T read(DataInput input) throws IOException
      Reads a tag.
      Parameters:
      input - the input
      Returns:
      the tag
      Throws:
      IOException - if an exception was encountered while reading
      Since:
      4.0.0