public <T> int writeListTo(OutputStream out, List<T> messages, Schema<T> schema)
            throws IOException
    {
        return YamlIOUtil.writeListTo(out, messages, schema, buf());
    }
Serialization tests for yaml.

@author David Yu
@created Jun 28, 2010
protostuff-yaml/src/test/java/io/protostuff/YamlSerTest.java