public String getOnOffString() {
        byte[] levels = new byte[4 * VespaLevelControllerRepo.numLevels];
        for (int i = 0; i < levels.length; i++) {
            levels[i] = mapBuf.get(offset + i);
        }
        return Utf8.toString(levels);
    }
return the current state as a string
(directly fetched from the file via the mapping buffer)
vespalog/src/main/java/com/yahoo/log/MappedLevelController.java