+ /**
+ * Serialize the RouteHop object into a byte array which can be read by RouteHop_read
+ */
+ public byte[] write() {
+ byte[] ret = bindings.RouteHop_write(this.ptr);
+ return ret;
+ }
+
+ /**
+ * Read a RouteHop from a byte array, created by RouteHop_write
+ */
+ public static Result_RouteHopDecodeErrorZ read(byte[] ser) {
+ long ret = bindings.RouteHop_read(ser);
+ Result_RouteHopDecodeErrorZ ret_hu_conv = Result_RouteHopDecodeErrorZ.constr_from_ptr(ret);
+ return ret_hu_conv;
+ }
+