@Override
    public void deserialize(Buffer buf) {
        pageIndex = buf.readShort();
        if (pageIndex < 0)
            throw new RuntimeException("Forbidden value on pageIndex = " + pageIndex + ", it doesn't respect the following condition : pageIndex < 0");
        totalPage = buf.readShort();
        if (totalPage < 0)
            throw new RuntimeException("Forbidden value on totalPage = " + totalPage + ", it doesn't respect the following condition : totalPage < 0");
        int limit = buf.readUShort();
        paddockList = new PaddockInformationsForSell[limit];
        for (int i = 0; i < limit; i++) {
            paddockList[i] = new PaddockInformationsForSell();
            paddockList[i].deserialize(buf);
        }
    }