code: public static String encodeWithDashes(byte[] in) {
          if (in == null) {
              return null;
          }
          return encodeWithDashes(in, 0, in.length);
      }
docs: Encodes the given bytes into a base-32 string, inserting dashes after
  every 6 characters of output.
  
  @param in
  the bytes to encode.
  
  @return The formatted base-32 string, or null if {@code in} is null.