@SuppressWarnings("unchecked") // We correctly assign various generic arrays
public class CommitmentSigned extends CommonBase {
CommitmentSigned(Object _dummy, long ptr) { super(ptr); }
@SuppressWarnings("unchecked") // We correctly assign various generic arrays
public class CommitmentSigned extends CommonBase {
CommitmentSigned(Object _dummy, long ptr) { super(ptr); }
public void set_channel_id(byte[] val) {
bindings.CommitmentSigned_set_channel_id(this.ptr, val);
}
public void set_channel_id(byte[] val) {
bindings.CommitmentSigned_set_channel_id(this.ptr, val);
}
public void set_signature(byte[] val) {
bindings.CommitmentSigned_set_signature(this.ptr, val);
}
public void set_signature(byte[] val) {
bindings.CommitmentSigned_set_signature(this.ptr, val);
}
public void set_htlc_signatures(byte[][] val) {
bindings.CommitmentSigned_set_htlc_signatures(this.ptr, val);
}
public void set_htlc_signatures(byte[][] val) {
bindings.CommitmentSigned_set_htlc_signatures(this.ptr, val);
}
public static CommitmentSigned constructor_new(byte[] channel_id_arg, byte[] signature_arg, byte[][] htlc_signatures_arg) {
long ret = bindings.CommitmentSigned_new(channel_id_arg, signature_arg, htlc_signatures_arg);
CommitmentSigned ret_hu_conv = new CommitmentSigned(null, ret);
public static CommitmentSigned constructor_new(byte[] channel_id_arg, byte[] signature_arg, byte[][] htlc_signatures_arg) {
long ret = bindings.CommitmentSigned_new(channel_id_arg, signature_arg, htlc_signatures_arg);
CommitmentSigned ret_hu_conv = new CommitmentSigned(null, ret);
public CommitmentSigned clone() {
long ret = bindings.CommitmentSigned_clone(this.ptr);
CommitmentSigned ret_hu_conv = new CommitmentSigned(null, ret);
public CommitmentSigned clone() {
long ret = bindings.CommitmentSigned_clone(this.ptr);
CommitmentSigned ret_hu_conv = new CommitmentSigned(null, ret);
public static Result_CommitmentSignedDecodeErrorZ constructor_read(byte[] ser) {
long ret = bindings.CommitmentSigned_read(ser);
Result_CommitmentSignedDecodeErrorZ ret_hu_conv = Result_CommitmentSignedDecodeErrorZ.constr_from_ptr(ret);
public static Result_CommitmentSignedDecodeErrorZ constructor_read(byte[] ser) {
long ret = bindings.CommitmentSigned_read(ser);
Result_CommitmentSignedDecodeErrorZ ret_hu_conv = Result_CommitmentSignedDecodeErrorZ.constr_from_ptr(ret);