public static constructor_ok(o: Option_MonitorEventZ): Result_COption_MonitorEventZDecodeErrorZ {
const ret: number = bindings.CResult_COption_MonitorEventZDecodeErrorZ_ok(CommonBase.get_ptr_of(o));
const ret_hu_conv: Result_COption_MonitorEventZDecodeErrorZ = Result_COption_MonitorEventZDecodeErrorZ.constr_from_ptr(ret);
return ret_hu_conv;
}
public static constructor_ok(o: Option_MonitorEventZ): Result_COption_MonitorEventZDecodeErrorZ {
const ret: number = bindings.CResult_COption_MonitorEventZDecodeErrorZ_ok(CommonBase.get_ptr_of(o));
const ret_hu_conv: Result_COption_MonitorEventZDecodeErrorZ = Result_COption_MonitorEventZDecodeErrorZ.constr_from_ptr(ret);
return ret_hu_conv;
}
public static constructor_err(e: DecodeError): Result_COption_MonitorEventZDecodeErrorZ {
const ret: number = bindings.CResult_COption_MonitorEventZDecodeErrorZ_err(e == null ? 0 : CommonBase.get_ptr_of(e) & ~1);
const ret_hu_conv: Result_COption_MonitorEventZDecodeErrorZ = Result_COption_MonitorEventZDecodeErrorZ.constr_from_ptr(ret);
return ret_hu_conv;
}
public static constructor_err(e: DecodeError): Result_COption_MonitorEventZDecodeErrorZ {
const ret: number = bindings.CResult_COption_MonitorEventZDecodeErrorZ_err(e == null ? 0 : CommonBase.get_ptr_of(e) & ~1);
const ret_hu_conv: Result_COption_MonitorEventZDecodeErrorZ = Result_COption_MonitorEventZDecodeErrorZ.constr_from_ptr(ret);
return ret_hu_conv;
}
public is_ok(): boolean {
const ret: boolean = bindings.CResult_COption_MonitorEventZDecodeErrorZ_is_ok(this.ptr);
return ret;
public is_ok(): boolean {
const ret: boolean = bindings.CResult_COption_MonitorEventZDecodeErrorZ_is_ok(this.ptr);
return ret;
public clone(): Result_COption_MonitorEventZDecodeErrorZ {
const ret: number = bindings.CResult_COption_MonitorEventZDecodeErrorZ_clone(this.ptr);
const ret_hu_conv: Result_COption_MonitorEventZDecodeErrorZ = Result_COption_MonitorEventZDecodeErrorZ.constr_from_ptr(ret);
public clone(): Result_COption_MonitorEventZDecodeErrorZ {
const ret: number = bindings.CResult_COption_MonitorEventZDecodeErrorZ_clone(this.ptr);
const ret_hu_conv: Result_COption_MonitorEventZDecodeErrorZ = Result_COption_MonitorEventZDecodeErrorZ.constr_from_ptr(ret);