public static Offset <MosaicProperty> CreateMosaicProperty(FlatBufferBuilder builder, byte mosaicPropertyId = 0, VectorOffset valueOffset = default(VectorOffset)) { builder.StartObject(2); MosaicProperty.AddValue(builder, valueOffset); MosaicProperty.AddMosaicPropertyId(builder, mosaicPropertyId); return(MosaicProperty.EndMosaicProperty(builder)); }
public static MosaicProperty GetRootAsMosaicProperty(ByteBuffer _bb, MosaicProperty obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }