コード例 #1
0
 @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));
   }
 }
コード例 #2
0
 @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));
   }
 }