public static <T> void writeTo(MessageBufferOutput out, T message, Schema<T> schema, boolean numeric)
            throws IOException
    {

        MessagePacker packer = MessagePack.newDefaultPacker(out);

        try
        {
            writeTo(packer, message, schema, numeric);
        }
        finally
        {
            packer.flush();
        }
    }
Serializes the {@code message} into an {@link MessageBufferOutput} using the given {@code schema}.
protostuff-msgpack/src/main/java/io/protostuff/MsgpackIOUtil.java