public static Offset <UShortEntry> CreateUShortEntry(FlatBufferBuilder builder, ushort key = 0, ushort value = 65535) { builder.StartObject(2); UShortEntry.AddValue(builder, value); UShortEntry.AddKey(builder, key); return(UShortEntry.EndUShortEntry(builder)); }
public static UShortEntry GetRootAsUShortEntry(ByteBuffer _bb, UShortEntry obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }