src/main/java/de/blau/android/services/util/Nmea.java
/**
     * Calculate the NMEA checksum from the sentence
     * 
     * @param withoutChecksum the sentence without the checksum
     * @return the checksum
     */
Calculate the NMEA checksum from the sentence

@param withoutChecksum the sentence without the checksum
@return the checksum
Calculate the NMEA checksum from the sentence @param withoutChecksum the sentence without the checksum @return the checksum
static int checksum(@NonNull String withoutChecksum) {
        int checksum = 0;
        for (byte b : withoutChecksum.getBytes()) {
            checksum = checksum ^ b;
        }
        return checksum;
    }
static int checksum ( @ NonNull String withoutChecksum ) { int checksum = 0 ; for ( byte b : withoutChecksum . getBytes ( ) ) { checksum = checksum ^ b ; } return checksum ; }
Calculate the NMEA checksum from the sentence
Calculate the NMEA checksum from the sentence