- // Skipped HTLCUpdate_write
- public HTLCUpdate(byte[] ser) {
- super(bindings.HTLCUpdate_read(ser));
+ public byte[] write() {
+ byte[] ret = bindings.HTLCUpdate_write(this.ptr);
+ return ret;
+ }
+
+ public static Result_HTLCUpdateDecodeErrorZ constructor_read(byte[] ser) {
+ long ret = bindings.HTLCUpdate_read(ser);
+ Result_HTLCUpdateDecodeErrorZ ret_hu_conv = Result_HTLCUpdateDecodeErrorZ.constr_from_ptr(ret);
+ return ret_hu_conv;