public static Offset <AddLocation> CreateAddLocation(FlatBufferBuilder builder, uint startId = 0, StringOffset nameOffset = default(StringOffset)) { builder.StartObject(2); AddLocation.AddName(builder, nameOffset); AddLocation.AddStartId(builder, startId); return(AddLocation.EndAddLocation(builder)); }
public static AddLocation GetRootAsAddLocation(ByteBuffer _bb, AddLocation obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }