Properly set CVec_u8Z to a byte[] which adds a ton more fn's
[ldk-java] / src / main / java / org / ldk / structs / RoutingFees.java
index 80183bb91bfb1b7508f22d4538aa6883891ba9a5..201b830a30c1257bcba6c02e80510ceac17010da 100644 (file)
@@ -46,5 +46,10 @@ public class RoutingFees extends CommonBase {
                super(bindings.RoutingFees_read(ser));
        }
 
-       // Skipped RoutingFees_write
+       public byte[] write(RoutingFees obj) {
+               byte[] ret = bindings.RoutingFees_write(obj == null ? 0 : obj.ptr & ~1);
+               this.ptrs_to.add(obj);
+               return ret;
+       }
+
 }