@Override
    public void deserialize(Buffer buf) {
        position = buf.readUShort();
        if (position < 0 || position > 65535)
            throw new RuntimeException("Forbidden value on position = " + position + ", it doesn't respect the following condition : position < 0 || position > 65535");
        total = buf.readUShort();
        if (total < 0 || total > 65535)
            throw new RuntimeException("Forbidden value on total = " + total + ", it doesn't respect the following condition : total < 0 || total > 65535");
    }