- bindings.UpdateFailMalformedHTLC_set_channel_id(this.ptr, InternalUtils.check_arr_len(val, 32));
+ bindings.UpdateFailMalformedHTLC_set_channel_id(this.ptr, InternalUtils.encodeUint8Array(InternalUtils.check_arr_len(val, 32)));
}
/**
* Read a UpdateFailMalformedHTLC from a byte array, created by UpdateFailMalformedHTLC_write
*/
public static Result_UpdateFailMalformedHTLCDecodeErrorZ read(byte[] ser) {
}
/**
* Read a UpdateFailMalformedHTLC from a byte array, created by UpdateFailMalformedHTLC_write
*/
public static Result_UpdateFailMalformedHTLCDecodeErrorZ read(byte[] ser) {
GC.KeepAlive(ser);
if (ret >= 0 && ret <= 4096) { return null; }
Result_UpdateFailMalformedHTLCDecodeErrorZ ret_hu_conv = Result_UpdateFailMalformedHTLCDecodeErrorZ.constr_from_ptr(ret);
GC.KeepAlive(ser);
if (ret >= 0 && ret <= 4096) { return null; }
Result_UpdateFailMalformedHTLCDecodeErrorZ ret_hu_conv = Result_UpdateFailMalformedHTLCDecodeErrorZ.constr_from_ptr(ret);