code: public static int bitLength (String string) {
          Objects.requireNonNull(string, Required.STRING.toString());
          int byteLength = string.getBytes(StandardCharsets.UTF_8).length;
          
          int length = 0;
          if (byteLength <= MAX_BYTE_LENGTH && byteLength > 0) {
              length = byteLength * BYTES;
          }
          
          return length;
      }
docs: Calculates the bit length of a given string
  
  @param string The string
  @return The number of bit