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