writeListOfStructs method

int writeListOfStructs(
  1. List<ObjectBuilder> structBuilders
)

Writes a list of Structs to the buffer, returning the offset

Implementation

int writeListOfStructs(List<ObjectBuilder> structBuilders) {
  _ensureNoVTable();
  for (int i = structBuilders.length - 1; i >= 0; i--) {
    structBuilders[i].finish(this);
  }
  return endStructVector(structBuilders.length);
}