public void process(OutputStream outputStream, Object element) throws IOException {
        this.root.processElement(outputStream, element);
    }
Process the output.

@param outputStream the output stream to write to.
@param element      the element to serialize.
@throws IOException in the case of IO error.
src/main/java/spark/serialization/SerializerChain.java