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();
        }
    }
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.