code: public void write(@NonNull Normalizer normalizer, @NonNull OutputStream stream) throws IOException {
          NormalizerSerializerStrategy strategy = getStrategy(normalizer);
  
          writeHeader(stream, Header.fromStrategy(strategy));
          //noinspection unchecked
          strategy.write(normalizer, stream);
      }
docs: Serialize a normalizer to an output stream
  
  @param normalizer the normalizer
  @param stream     the output stream to write to
  @throws IOException