import { ClosureReason } from '../structs/ClosureReason.mjs';
import { Option_ClosureReasonZ } from '../structs/Option_ClosureReasonZ.mjs';
import { Result_COption_ClosureReasonZDecodeErrorZ } from '../structs/Result_COption_ClosureReasonZDecodeErrorZ.mjs';
import { ClosureReason } from '../structs/ClosureReason.mjs';
import { Option_ClosureReasonZ } from '../structs/Option_ClosureReasonZ.mjs';
import { Result_COption_ClosureReasonZDecodeErrorZ } from '../structs/Result_COption_ClosureReasonZDecodeErrorZ.mjs';
import { ChannelUpdate } from '../structs/ChannelUpdate.mjs';
import { NetworkUpdate } from '../structs/NetworkUpdate.mjs';
import { Option_NetworkUpdateZ } from '../structs/Option_NetworkUpdateZ.mjs';
import { ChannelUpdate } from '../structs/ChannelUpdate.mjs';
import { NetworkUpdate } from '../structs/NetworkUpdate.mjs';
import { Option_NetworkUpdateZ } from '../structs/Option_NetworkUpdateZ.mjs';
import { Result_NoneChannelMonitorUpdateErrZ } from '../structs/Result_NoneChannelMonitorUpdateErrZ.mjs';
import { HTLCUpdate } from '../structs/HTLCUpdate.mjs';
import { MonitorEvent } from '../structs/MonitorEvent.mjs';
import { Result_NoneChannelMonitorUpdateErrZ } from '../structs/Result_NoneChannelMonitorUpdateErrZ.mjs';
import { HTLCUpdate } from '../structs/HTLCUpdate.mjs';
import { MonitorEvent } from '../structs/MonitorEvent.mjs';
import { Option_C2Tuple_usizeTransactionZZ } from '../structs/Option_C2Tuple_usizeTransactionZZ.mjs';
import { FixedPenaltyScorer } from '../structs/FixedPenaltyScorer.mjs';
import { Result_FixedPenaltyScorerDecodeErrorZ } from '../structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs';
import { Option_C2Tuple_usizeTransactionZZ } from '../structs/Option_C2Tuple_usizeTransactionZZ.mjs';
import { FixedPenaltyScorer } from '../structs/FixedPenaltyScorer.mjs';
import { Result_FixedPenaltyScorerDecodeErrorZ } from '../structs/Result_FixedPenaltyScorerDecodeErrorZ.mjs';
import { Result_ChannelInfoDecodeErrorZ } from '../structs/Result_ChannelInfoDecodeErrorZ.mjs';
import { RoutingFees } from '../structs/RoutingFees.mjs';
import { Result_RoutingFeesDecodeErrorZ } from '../structs/Result_RoutingFeesDecodeErrorZ.mjs';
import { Result_ChannelInfoDecodeErrorZ } from '../structs/Result_ChannelInfoDecodeErrorZ.mjs';
import { RoutingFees } from '../structs/RoutingFees.mjs';
import { Result_RoutingFeesDecodeErrorZ } from '../structs/Result_RoutingFeesDecodeErrorZ.mjs';
import { NetAddress } from '../structs/NetAddress.mjs';
import { NodeAnnouncementInfo } from '../structs/NodeAnnouncementInfo.mjs';
import { Result_NodeAnnouncementInfoDecodeErrorZ } from '../structs/Result_NodeAnnouncementInfoDecodeErrorZ.mjs';
import { NetAddress } from '../structs/NetAddress.mjs';
import { NodeAnnouncementInfo } from '../structs/NodeAnnouncementInfo.mjs';
import { Result_NodeAnnouncementInfoDecodeErrorZ } from '../structs/Result_NodeAnnouncementInfoDecodeErrorZ.mjs';
if (bindings.CResult_CVec_CVec_u8ZZNoneZ_is_ok(ptr)) {
return new Result_CVec_CVec_u8ZZNoneZ_OK(null, ptr);
} else {
if (bindings.CResult_CVec_CVec_u8ZZNoneZ_is_ok(ptr)) {
return new Result_CVec_CVec_u8ZZNoneZ_OK(null, ptr);
} else {
* Creates a new CResult_CVec_CVec_u8ZZNoneZ in the success state.
*/
public static constructor_ok(o: Uint8Array[]): Result_CVec_CVec_u8ZZNoneZ {
* Creates a new CResult_CVec_CVec_u8ZZNoneZ in the success state.
*/
public static constructor_ok(o: Uint8Array[]): Result_CVec_CVec_u8ZZNoneZ {
* Creates a new CResult_CVec_CVec_u8ZZNoneZ in the error state.
*/
public static constructor_err(): Result_CVec_CVec_u8ZZNoneZ {
* Creates a new CResult_CVec_CVec_u8ZZNoneZ in the error state.
*/
public static constructor_err(): Result_CVec_CVec_u8ZZNoneZ {
- public clone_ptr(): number {
- const ret: number = bindings.CResult_CVec_CVec_u8ZZNoneZ_clone_ptr(this.ptr);
+ public clone_ptr(): bigint {
+ const ret: bigint = bindings.CResult_CVec_CVec_u8ZZNoneZ_clone_ptr(this.ptr);
* but with all dynamically-allocated buffers duplicated in new buffers.
*/
public clone(): Result_CVec_CVec_u8ZZNoneZ {
* but with all dynamically-allocated buffers duplicated in new buffers.
*/
public clone(): Result_CVec_CVec_u8ZZNoneZ {
super(_dummy, ptr);
const res: number = bindings.CResult_CVec_CVec_u8ZZNoneZ_get_ok(ptr);
const res_conv_12_len: number = bindings.getArrayLength(res);
super(_dummy, ptr);
const res: number = bindings.CResult_CVec_CVec_u8ZZNoneZ_get_ok(ptr);
const res_conv_12_len: number = bindings.getArrayLength(res);