docs: public static void writeSerializersAndConfigsWithResilience(
  			DataOutputView out,
  			List<Tuple2<TypeSerializer<?>, TypeSerializerSnapshot<?>>> serializersAndConfigs) throws IOException {
  
  		try (
  			ByteArrayOutputStreamWithPos bufferWithPos = new ByteArrayOutputStreamWithPos();
  			DataOutputViewStreamWrapper bufferWrapper = new DataOutputViewStreamWrapper(bufferWithPos)) {
  
  			out.writeInt(serializersAndConfigs.size());
  			for (Tuple2<TypeSerializer<?>, TypeSerializerSnapshot<?>> serAndConfSnapshot : serializersAndConfigs) {
  				out.writeInt(bufferWithPos.getPosition());
  				writeSerializer(bufferWrapper, serAndConfSnapshot.f0);
  
  				out.writeInt(bufferWithPos.getPosition());
  				TypeSerializerSnapshotSerializationUtil.writeSerializerSnapshot(
  					bufferWrapper, (TypeSerializerSnapshot) serAndConfSnapshot.f1, serAndConfSnapshot.f0);
  			}
  
  			out.writeInt(bufferWithPos.getPosition());
  			out.write(bufferWithPos.getBuf(), 0, bufferWithPos.getPosition());
  		}
  	}