public boolean getWparamAsBoolean() {
        int intValue = byteArrayToInt(this.wparam);
        if(intValue == 1) {
            return true;
        } else if(intValue == 0) {
            return false;
        } else {
            throw new IllegalArgumentException("The wParam should be 0 or 1, but was ");
        }
    }