Convert slices - requires some machinery to call Release, but otherwise not bad
[ldk-java] / src / main / java / org / ldk / structs / DirectionalChannelInfo.java
index a853dc6255425ec3b2ab75b5e91a29cb31a808a9..a0f879051525cebdc6aff977a36eaec0e0f3faf7 100644 (file)
@@ -67,5 +67,8 @@ public class DirectionalChannelInfo extends CommonBase {
        }
 
        // Skipped DirectionalChannelInfo_write
-       // Skipped DirectionalChannelInfo_read
+       public DirectionalChannelInfo(byte[] ser) {
+               super(bindings.DirectionalChannelInfo_read(ser));
+       }
+
 }