@Override
    public void writeBytes(int fieldNumber, ByteBuffer value, boolean repeated) throws IOException
    {
        writeBytes(fieldNumber, value.array(), value.arrayOffset() + value.position(),
                value.remaining(), repeated, false);
    }
Returns true if the last written field was a repeated field.
protostuff-msgpack/src/main/java/io/protostuff/MsgpackXOutput.java