- public static Result_GossipTimestampFilterDecodeErrorZ constructor_read(byte[] ser) {
- long ret = bindings.GossipTimestampFilter_read(ser);
- Result_GossipTimestampFilterDecodeErrorZ ret_hu_conv = Result_GossipTimestampFilterDecodeErrorZ.constr_from_ptr(ret);
+ /**
+ * Creates a copy of the GossipTimestampFilter
+ */
+ public GossipTimestampFilter clone() {
+ long ret = bindings.GossipTimestampFilter_clone(this.ptr);
+ if (ret >= 0 && ret <= 4096) { return null; }
+ GossipTimestampFilter ret_hu_conv = null; if (ret < 0 || ret > 4096) { ret_hu_conv = new GossipTimestampFilter(null, ret); }
+ ret_hu_conv.ptrs_to.add(this);