Пример #1
0
 public static Offset <UIntEntry> CreateUIntEntry(FlatBufferBuilder builder,
                                                  uint key   = 0,
                                                  uint value = 4294967295)
 {
     builder.StartObject(2);
     UIntEntry.AddValue(builder, value);
     UIntEntry.AddKey(builder, key);
     return(UIntEntry.EndUIntEntry(builder));
 }
Пример #2
0
 public static UIntEntry GetRootAsUIntEntry(ByteBuffer _bb, UIntEntry obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }