예제 #1
0
 public static Offset <Crs> CreateCrs(FlatBufferBuilder builder,
                                      StringOffset orgOffset = default(StringOffset),
                                      int code = 0,
                                      StringOffset nameOffset        = default(StringOffset),
                                      StringOffset descriptionOffset = default(StringOffset),
                                      StringOffset wktOffset         = default(StringOffset))
 {
     builder.StartObject(5);
     Crs.AddWkt(builder, wktOffset);
     Crs.AddDescription(builder, descriptionOffset);
     Crs.AddName(builder, nameOffset);
     Crs.AddCode(builder, code);
     Crs.AddOrg(builder, orgOffset);
     return(Crs.EndCrs(builder));
 }
예제 #2
0
 public static Crs GetRootAsCrs(ByteBuffer _bb, Crs obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }