@Override
        public <T extends Message<T>> byte[] serialize(T message)
        {
            try
            {
                return YamlIOUtil.toByteArray(message, message.cachedSchema(), buffer);
            }
            finally
            {
                buffer.clear();
            }
        }
Compare the outputs of different yaml impls.

@author David Yu
@created Jul 9, 2010
protostuff-yaml/src/test/java/io/protostuff/YamlCompareOutputsTest.java