public void write(@NonNull MultiNormalizerHybrid normalizer, @NonNull OutputStream stream) throws IOException {
        try (DataOutputStream dos = new DataOutputStream(stream)) {
            writeStatsMap(normalizer.getInputStats(), dos);
            writeStatsMap(normalizer.getOutputStats(), dos);
            writeStrategy(normalizer.getGlobalInputStrategy(), dos);
            writeStrategy(normalizer.getGlobalOutputStrategy(), dos);
            writeStrategyMap(normalizer.getPerInputStrategies(), dos);
            writeStrategyMap(normalizer.getPerOutputStrategies(), dos);
        }
    }
public void write ( @ NonNull MultiNormalizerHybrid normalizer , @ NonNull OutputStream stream ) throws IOException { try ( DataOutputStream dos = new DataOutputStream ( stream ) ) { writeStatsMap ( normalizer . getInputStats ( ) , dos ) ; writeStatsMap ( normalizer . getOutputStats ( ) , dos ) ; writeStrategy ( normalizer . getGlobalInputStrategy ( ) , dos ) ; writeStrategy ( normalizer . getGlobalOutputStrategy ( ) , dos ) ; writeStrategyMap ( normalizer . getPerInputStrategies ( ) , dos ) ; writeStrategyMap ( normalizer . getPerOutputStrategies ( ) , dos ) ; } }
Serialize a MultiNormalizerHybrid to a output stream

@param normalizer the normalizer
@param stream     the output stream to write to
@throws IOException