Пример #1
0
 public static Offset <PropertyModificationBuffer> CreatePropertyModificationBuffer(FlatBufferBuilder builder,
                                                                                    byte modificationType    = 0,
                                                                                    VectorOffset valueOffset = default(VectorOffset))
 {
     builder.StartObject(2);
     PropertyModificationBuffer.AddValue(builder, valueOffset);
     PropertyModificationBuffer.AddModificationType(builder, modificationType);
     return(PropertyModificationBuffer.EndPropertyModificationBuffer(builder));
 }
Пример #2
0
 public static PropertyModificationBuffer GetRootAsPropertyModificationBuffer(ByteBuffer _bb, PropertyModificationBuffer obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }