code: public byte meanValue() {
          if (data.length == 0)
              return 0;
  
          int sum = 0;
          for (byte b : data)
              sum += b;
          return (byte) (sum / data.length);
      }
docs: Returns average sequence quality value
  
  @return average sequence quality value