public int compareTo(final Byte b) {
    return Byte.valueOf(getSerializedType()).compareTo(b);
  }
Compare to serialized type.

@param b the byte value
@return the int result of comparison
datatypes/src/main/java/org/hyperledger/besu/datatypes/TransactionType.java