docs: public static String hexdump(int maxQuerySizeToLog, int offset, int length, byte[]... byteArr) {
      switch (byteArr.length) {
        case 0:
          return "";
  
        case 1:
          byte[] bytes = byteArr[0];
          if (bytes.length <= offset) {
            return "";
          }
          int dataLength = Math.min(maxQuerySizeToLog, Math.min(bytes.length - offset, length));
  
          StringBuilder outputBuilder = new StringBuilder(dataLength * 5);
          outputBuilder.append("\n");
          writeHex(bytes, offset, dataLength, outputBuilder);
          return outputBuilder.toString();
  
        default:
          StringBuilder sb = new StringBuilder();
          sb.append("\n");
          byte[] arr;
          for (int i = 0; i < byteArr.length - 1; i++) {
            arr = byteArr[i];
            writeHex(arr, 0, arr.length, sb);
          }
          arr = byteArr[byteArr.length - 1];
          int dataLength2 = Math.min(maxQuerySizeToLog, Math.min(arr.length - offset, length));
          writeHex(arr, offset, dataLength2, sb);
          return sb.toString();
  
      }
    }