public static Offset <LEAVE> CreateLEAVE(FlatBufferBuilder builder, StringOffset USER_NAMEOffset = default(StringOffset), int USER_INDEX = 0) { builder.StartObject(2); LEAVE.AddUSERINDEX(builder, USER_INDEX); LEAVE.AddUSERNAME(builder, USER_NAMEOffset); return(LEAVE.EndLEAVE(builder)); }
public static LEAVE GetRootAsLEAVE(ByteBuffer _bb, LEAVE obj) { return(obj.__init(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }