public static Offset <MosaicLevy> CreateMosaicLevy(FlatBufferBuilder builder,
                                                    byte type = 0,
                                                    VectorOffset recipientOffset = default(VectorOffset),
                                                    VectorOffset mosaicIdOffset  = default(VectorOffset),
                                                    VectorOffset feeOffset       = default(VectorOffset))
 {
     builder.StartObject(4);
     MosaicLevy.AddFee(builder, feeOffset);
     MosaicLevy.AddMosaicId(builder, mosaicIdOffset);
     MosaicLevy.AddRecipient(builder, recipientOffset);
     MosaicLevy.AddType(builder, type);
     return(MosaicLevy.EndMosaicLevy(builder));
 }
 public static MosaicLevy GetRootAsMosaicLevy(ByteBuffer _bb, MosaicLevy obj)
 {
     return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb));
 }