code: public static <T> void writeSerializerSnapshot(
  		DataOutputView out,
  		TypeSerializerSnapshot<T> serializerSnapshot,
  		TypeSerializer<T> serializer) throws IOException {
  
  		new TypeSerializerSnapshotSerializationProxy<>(serializerSnapshot, serializer).write(out);
  	}
docs: Writes a {@link TypeSerializerSnapshot} to the provided data output view.
  
  <p>It is written with a format that can be later read again using
  {@link #readSerializerSnapshot(DataInputView, ClassLoader, TypeSerializer)}.
  
  @param out the data output view
  @param serializerSnapshot the serializer configuration snapshot to write
  @param serializer the prior serializer. This needs to be written of the serializer snapshot
  if the serializer snapshot is still the legacy {@link TypeSerializerConfigSnapshot}.