Convert slices - requires some machinery to call Release, but otherwise not bad
[ldk-java] / src / main / java / org / ldk / structs / QueryShortChannelIds.java
index 8965408514da53db5e9cd44db1adcaebd1c54fdc..68cc1304d41303660df3a29db13c0d20b066fd63 100644 (file)
@@ -28,6 +28,9 @@ public class QueryShortChannelIds extends CommonBase {
 
        // Skipped QueryShortChannelIds_set_short_channel_ids
        // Skipped QueryShortChannelIds_new
-       // Skipped QueryShortChannelIds_read
+       public QueryShortChannelIds(byte[] ser) {
+               super(bindings.QueryShortChannelIds_read(ser));
+       }
+
        // Skipped QueryShortChannelIds_write
 }