@Override
  public MixedFormatEnumeratorOffset deserialize(int version, byte[] serialized)
      throws IOException {
    switch (version) {
      case 1:
        return deserializeV1(serialized);
      default:
        throw new IOException("Unknown version: " + version);
    }
  }
Serializer that serializes and deserializes mixed-format enumerator {@link
MixedFormatEnumeratorOffset}.
amoro-format-mixed/amoro-mixed-flink/amoro-mixed-flink-common/src/main/java/org/apache/amoro/flink/read/hybrid/enumerator/MixedFormatEnumeratorOffsetSerializer.java