public static void addToday(FlatBufferBuilder builder, int todayOffset) {
   builder.addOffset(2, todayOffset, 0);
 }
 public static void addTomorrow(FlatBufferBuilder builder, int tomorrowOffset) {
   builder.addOffset(3, tomorrowOffset, 0);
 }
 public static void addError(FlatBufferBuilder builder, int errorOffset) {
   builder.addOffset(0, errorOffset, 0);
 }
 public static void addLastupdated(FlatBufferBuilder builder, int lastupdatedOffset) {
   builder.addOffset(1, lastupdatedOffset, 0);
 }
 public static void addRoms(FlatBufferBuilder builder, int romsOffset) {
   builder.addOffset(0, romsOffset, 0);
 }
 public static int createRomsVector(FlatBufferBuilder builder, int[] data) {
   builder.startVector(4, data.length, 4);
   for (int i = data.length - 1; i >= 0; i--) builder.addOffset(data[i]);
   return builder.endVector();
 }
 public static void addData(FlatBufferBuilder builder, int dataOffset) {
   builder.addOffset(3, dataOffset, 0);
 }
 public static void addPath(FlatBufferBuilder builder, int pathOffset) {
   builder.addOffset(0, pathOffset, 0);
 }
 public static void addName(FlatBufferBuilder builder, int nameOffset) {
   builder.addOffset(3, nameOffset, 0);
 }
 public static void addFooTable(FlatBufferBuilder builder, int fooTableOffset) {
   builder.addOffset(0, fooTableOffset, 0);
 }
 public static void addTest(FlatBufferBuilder builder, int testOffset) {
   builder.addOffset(8, testOffset, 0);
 }
 public static void addInventory(FlatBufferBuilder builder, int inventoryOffset) {
   builder.addOffset(5, inventoryOffset, 0);
 }
 public static void addBootBlockdev(FlatBufferBuilder builder, int bootBlockdevOffset) {
   builder.addOffset(1, bootBlockdevOffset, 0);
 }
 public static void addLabel(FlatBufferBuilder builder, int labelOffset) {
   builder.addOffset(2, labelOffset, 0);
 }
Beispiel #15
0
 public static void addId(FlatBufferBuilder builder, int idOffset) {
   builder.addOffset(0, idOffset, 0);
 }