docs: public static Collection<Binary> toBinaryCollection(byte[] bytes) throws IOException {
          try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes);
               BigEndianBinaryReader reader = new BigEndianBinaryReader(bais) ) {
              final int size = reader.expectInt();
              Collection<Binary> result = new ArrayList<>();
              for( int i = 0; i < size; i++ ) {
                  int length = reader.expectInt();
                  result.add(reader.expectBinary(length));
              }
              return result;
          }
      }