@Override
    public String toString() {

      return getClass().getName()
          + " byte: "
          + byteField
          + ", short: "
          + shortField
          + ", int: "
          + intField
          + ", long: "
          + longField
          + ", float: "
          + floatField
          + ", double: "
          + doubleField
          + " bytePrim: "
          + byteFieldPrim
          + ", shortPrim: "
          + shortFieldPrim
          + ", intPrim: "
          + intFieldPrim
          + ", longPrim: "
          + longFieldPrim
          + ", floatPrim: "
          + floatFieldPrim
          + ", doublePrim: "
          + doubleFieldPrim
          + ", unsignedByte: "
          + unsignedByteField
          + ", unsignedShort: "
          + unsignedShortField
          + ", string: \""
          + stringField
          + "\", object: "
          + objectField;
    }
Two <code>SerializableImpl</code>s are equal if their contents are equal.
geode-core/src/test/java/org/apache/geode/internal/DataSerializableJUnitTest.java