Class BinaryFormatUtils.FieldInfo

  • Enclosing class:
    BinaryFormatUtils

    public static class BinaryFormatUtils.FieldInfo
    extends java.lang.Object
    Field info data holder with convenience methods.
    • Constructor Summary

      Constructors 
      Constructor Description
      FieldInfo​(int id, byte type)
      Create a field info instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getId()  
      byte getType()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • FieldInfo

        public FieldInfo​(int id,
                         byte type)
        Create a field info instance.
        Parameters:
        id - The field ID or key.
        type - The field binary written type.
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getId

        public int getId()
        Returns:
        The field ID or key.
      • getType

        public byte getType()
        Returns:
        The binary field type.