code: private static Collection<OffsetItem> toOffsetItems(String message) {
          List<OffsetItem> items = new ArrayList<>();
          Pattern p = Pattern.compile(REGEX_ITEM);
          Matcher m = p.matcher(message);
          while(m.find()) {
              int offset = Integer.parseInt(m.group(1), 16);
              int size = Integer.parseInt(m.group(2));
              // ~
              String byteArrayHex = m.group(3);
              ByteArray byteArray = ByteArray.create(new BigInteger(byteArrayHex, 16), byteArrayHex.length() / 2);
              items.add(new OffsetItem(offset, size, byteArray));
          }
          return items;
      }
docs: /* HELPER