Convert slices - requires some machinery to call Release, but otherwise not bad
[ldk-java] / src / main / java / org / ldk / structs / RoutingFees.java
index ba1365c0f68bb6f1748d546c458ea09e77e47ca9..215372fa7e71112bdef675084713fb4091c63af9 100644 (file)
@@ -41,6 +41,9 @@ public class RoutingFees extends CommonBase {
                super(bindings.RoutingFees_new(base_msat_arg, proportional_millionths_arg));
        }
 
-       // Skipped RoutingFees_read
+       public RoutingFees(byte[] ser) {
+               super(bindings.RoutingFees_read(ser));
+       }
+
        // Skipped RoutingFees_write
 }