public static Offset <NymaTypes.NSwitchInfo> CreateNSwitchInfo(FlatBufferBuilder builder, uint DefaultPosition = 0, VectorOffset PositionsOffset = default(VectorOffset)) { builder.StartTable(2); NSwitchInfo.AddPositions(builder, PositionsOffset); NSwitchInfo.AddDefaultPosition(builder, DefaultPosition); return(NSwitchInfo.EndNSwitchInfo(builder)); }
public static NSwitchInfo GetRootAsNSwitchInfo(ByteBuffer _bb, NSwitchInfo obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }