public ByteBuffer readPayload() throws IOException
    {
        int length = unpacker.unpackBinaryHeader();
        ByteBuffer buffer = ByteBuffer.allocate(length);
        unpacker.readPayload(buffer);
        return buffer;
    }
How many items left to parse in array
protostuff-msgpack/src/main/java/io/protostuff/MsgpackParser.java