Exemple #1
0
 public static Offset <ByteEntry> CreateByteEntry(FlatBufferBuilder builder,
                                                  sbyte key   = -128,
                                                  sbyte value = -128)
 {
     builder.StartObject(2);
     ByteEntry.AddValue(builder, value);
     ByteEntry.AddKey(builder, key);
     return(ByteEntry.EndByteEntry(builder));
 }
Exemple #2
0
 public static ByteEntry GetRootAsByteEntry(ByteBuffer _bb, ByteEntry obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }