public BasicTypesT UnPack() { var _o = new BasicTypesT(); this.UnPackTo(_o); return(_o); }
public void UnPackTo(BasicTypesT _o) { _o.Byte = this.Byte; _o.UShort = this.UShort; _o.Short = this.Short; _o.Bool = this.Bool; _o.UInt = this.UInt; _o.Int = this.Int; _o.SByte = this.SByte; _o.ULong = this.ULong; _o.Long = this.Long; _o.Float = this.Float; _o.Double = this.Double; _o.String = this.String; }
public static Offset <FlatSharpTests.Oracle.BasicTypes> Pack(FlatBufferBuilder builder, BasicTypesT _o) { if (_o == null) { return(default(Offset <FlatSharpTests.Oracle.BasicTypes>)); } var _String = _o.String == null ? default(StringOffset) : builder.CreateString(_o.String); return(CreateBasicTypes( builder, _o.Byte, _o.UShort, _o.Short, _o.Bool, _o.UInt, _o.Int, _o.SByte, _o.ULong, _o.Long, _o.Float, _o.Double, _String)); }