public static <K, V> @NotNull EntryExternalizer<K, V> entryExternalizerFor(@NotNull KeyDescriptorEx<K> keyDescriptor,
                                                                             @NotNull DataExternalizerEx<V> valueExternalizer) {
    if (keyDescriptor.isRecordSizeConstant()) {
      return new FixedSizeKeyEntryExternalizer<>(keyDescriptor, valueExternalizer);
    }
    else {
      return new DefaultEntryExternalizer<>(keyDescriptor, valueExternalizer);
    }
  }
public static <K, V> @NotNull EntryExternalizer<K, V> entryExternalizerFor(@NotNull KeyDescriptorEx<K> keyDescriptor,
                                                                             @NotNull DataExternalizerEx<V> valueExternalizer)