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