- // Skipped OutPoint_write
- public OutPoint(byte[] ser) {
- super(bindings.OutPoint_read(ser));
+ public byte[] write(OutPoint obj) {
+ byte[] ret = bindings.OutPoint_write(obj == null ? 0 : obj.ptr & ~1);
+ this.ptrs_to.add(obj);
+ return ret;
+ }
+
+ public static OutPoint constructor_read(byte[] ser) {
+ long ret = bindings.OutPoint_read(ser);
+ OutPoint ret_hu_conv = new OutPoint(null, ret);
+ return ret_hu_conv;