docs: private int getByteCount(ArrayList<byte[]> listOfByteArrays) {
          int count = 0;
          for (byte[] byteArray : listOfByteArrays) {
              if (byteArray != null) {
                  count += byteArray.length;
              }
          }
          return count;
      }