public byte[] encode() {
        if (!lookupDataValid) {
            throw new IllegalArgumentException("internal error: encoding undefined data?");
        }
        return encode(lookupData);
    }
encode internal lookup data to a byte array
main/src/main/java/cgeo/geocaching/brouter/expressions/BExpressionContext.java