internal static Offset <MosaicPropertyBuffer> CreateMosaicPropertyBuffer(FlatBufferBuilder builder, int lengthOfPropertyStructure = 0, int lengthOfPropertyName = 0, VectorOffset propertyNameOffset = default(VectorOffset), int lengthOfPropertyValue = 0, VectorOffset propertyValueOffset = default(VectorOffset)) { builder.StartObject(5); MosaicPropertyBuffer.AddPropertyValue(builder, propertyValueOffset); MosaicPropertyBuffer.AddLengthOfPropertyValue(builder, lengthOfPropertyValue); MosaicPropertyBuffer.AddPropertyName(builder, propertyNameOffset); MosaicPropertyBuffer.AddLengthOfPropertyName(builder, lengthOfPropertyName); MosaicPropertyBuffer.AddLengthOfPropertyStructure(builder, lengthOfPropertyStructure); return(MosaicPropertyBuffer.EndMosaicPropertyBuffer(builder)); }
internal static MosaicPropertyBuffer GetRootAsMosaicPropertyBuffer(ByteBuffer _bb, MosaicPropertyBuffer obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }