public static <T> void writeListTo(MessageBufferOutput out, List<T> messages,
            Schema<T> schema, boolean numeric) throws IOException
    {

        MessagePacker packer = MessagePack.newDefaultPacker(out);

        try
        {
            writeListTo(packer, messages, schema, numeric);
        }
        finally
        {
            packer.flush();
        }
    }
Serializes the {@code messages} into the stream using the given schema.
protostuff-msgpack/src/main/java/io/protostuff/MsgpackIOUtil.java