* Constructs a new OutPoint given each field
*/
public static OutPoint of(byte[] txid_arg, short index_arg) {
* Constructs a new OutPoint given each field
*/
public static OutPoint of(byte[] txid_arg, short index_arg) {
- long ret = bindings.OutPoint_new(InternalUtils.check_arr_len(txid_arg, 32), index_arg);
+ long ret = bindings.OutPoint_new(InternalUtils.encodeUint8Array(InternalUtils.check_arr_len(txid_arg, 32)), index_arg);
}
/**
* Read a OutPoint from a byte array, created by OutPoint_write
*/
public static Result_OutPointDecodeErrorZ read(byte[] ser) {
}
/**
* Read a OutPoint from a byte array, created by OutPoint_write
*/
public static Result_OutPointDecodeErrorZ read(byte[] ser) {
GC.KeepAlive(ser);
if (ret >= 0 && ret <= 4096) { return null; }
Result_OutPointDecodeErrorZ ret_hu_conv = Result_OutPointDecodeErrorZ.constr_from_ptr(ret);
GC.KeepAlive(ser);
if (ret >= 0 && ret <= 4096) { return null; }
Result_OutPointDecodeErrorZ ret_hu_conv = Result_OutPointDecodeErrorZ.constr_from_ptr(ret);