@Override public void parse(BserValues values) throws IOException { this.nextOffset = values.optBytes(1); this.limit = values.getInt(2); this.optimizations = new ArrayList<ApiUpdateOptimization>(); for (int b : values.getRepeatedInt(3)) { optimizations.add(ApiUpdateOptimization.parse(b)); } }
@Override public void parse(BserValues values) throws IOException { this.groupPeer = values.getObj(1, new ApiGroupOutPeer()); this.rid = values.getLong(2); this.optimizations = new ArrayList<ApiUpdateOptimization>(); for (int b : values.getRepeatedInt(3)) { optimizations.add(ApiUpdateOptimization.parse(b)); } }