@Test
    public void testFooArray() throws IOException
    {

        FooMessage foo = new FooMessage();
        foo.field = Arrays.asList("a", "b");

        byte[] xdata = MsgpackXIOUtil.toByteArray(foo, FOO_SCHEMA, false, LinkedBuffer.allocate());
        byte[] data = MsgpackIOUtil.toByteArray(foo, FOO_SCHEMA, false);

        Assert.assertTrue(Arrays.equals(data, xdata));
    }
Compatible with

http://kawanet.github.io/msgpack-lite/
protostuff-msgpack/src/test/java/io/protostuff/MsgpackSimpleTest.java