Convert slices - requires some machinery to call Release, but otherwise not bad
[ldk-java] / src / main / java / org / ldk / structs / OutPoint.java
index 071bc1ea2f6359e96cece0bb5220236b259d67e4..aabd0d231c9658843fb1246ea2bed967e057494a 100644 (file)
@@ -47,5 +47,8 @@ public class OutPoint extends CommonBase {
        }
 
        // Skipped OutPoint_write
-       // Skipped OutPoint_read
+       public OutPoint(byte[] ser) {
+               super(bindings.OutPoint_read(ser));
+       }
+
 }