public static <T> void writeTo(OutputStream out, T message, Schema<T> schema)
            throws IOException
    {
        writeTo(out, message, schema, DEFAULT_OUTPUT_FACTORY);
    }
Serializes the {@code message} into an {@link OutputStream} using the given {@code schema}.
protostuff-xml/src/main/java/io/protostuff/XmlIOUtil.java