Type declaration
create:function
- create<I>(base?): MessageOut
Type Parameters
- I extends {
keygenResult?: {
criminals?: {
criminals?: {
crimeType?: (...) | (...);
partyUid?: (...) | (...);
}[];
};
data?: {
groupRecoverInfo?: Uint8Array;
privateRecoverInfo?: Uint8Array;
pubKey?: Uint8Array;
};
};
needRecover?: boolean;
signResult?: {
criminals?: {
criminals?: {
crimeType?: (...) | (...);
partyUid?: (...) | (...);
}[];
};
signature?: Uint8Array;
};
traffic?: {
isBroadcast?: boolean;
payload?: Uint8Array;
toPartyUid?: string;
};
} & {
keygenResult?: {
criminals?: {
criminals?: {
crimeType?: ...;
partyUid?: ...;
}[];
};
data?: {
groupRecoverInfo?: Uint8Array;
privateRecoverInfo?: Uint8Array;
pubKey?: Uint8Array;
};
} & {
criminals?: {
criminals?: (...)[];
} & {
criminals?: (...) & (...) & (...);
} & {
[K in string | number | symbol]: never
};
data?: {
groupRecoverInfo?: Uint8Array;
privateRecoverInfo?: Uint8Array;
pubKey?: Uint8Array;
} & {
groupRecoverInfo?: Uint8Array;
privateRecoverInfo?: Uint8Array;
pubKey?: Uint8Array;
} & {
[K in string | number | symbol]: never
};
} & {
[K in string | number | symbol]: never
};
needRecover?: boolean;
signResult?: {
criminals?: {
criminals?: {
crimeType?: ...;
partyUid?: ...;
}[];
};
signature?: Uint8Array;
} & {
criminals?: {
criminals?: (...)[];
} & {
criminals?: (...) & (...) & (...);
} & {
[K in string | number | symbol]: never
};
signature?: Uint8Array;
} & {
[K in string | number | symbol]: never
};
traffic?: {
isBroadcast?: boolean;
payload?: Uint8Array;
toPartyUid?: string;
} & {
isBroadcast?: boolean;
payload?: Uint8Array;
toPartyUid?: string;
} & {
[K in string | number | symbol]: never
};
} & {
[K in string | number | symbol]: never
}
decode:function
- decode(input, length?): MessageOut
Parameters
- input: Uint8Array | Reader
Optional
length: number
encode:function
- encode(message, writer?): Writer
Returns Writer
fromJSON:function
fromPartial:function
- fromPartial<I>(object): MessageOut
Type Parameters
- I extends {
keygenResult?: {
criminals?: {
criminals?: {
crimeType?: (...) | (...);
partyUid?: (...) | (...);
}[];
};
data?: {
groupRecoverInfo?: Uint8Array;
privateRecoverInfo?: Uint8Array;
pubKey?: Uint8Array;
};
};
needRecover?: boolean;
signResult?: {
criminals?: {
criminals?: {
crimeType?: (...) | (...);
partyUid?: (...) | (...);
}[];
};
signature?: Uint8Array;
};
traffic?: {
isBroadcast?: boolean;
payload?: Uint8Array;
toPartyUid?: string;
};
} & {
keygenResult?: {
criminals?: {
criminals?: {
crimeType?: ...;
partyUid?: ...;
}[];
};
data?: {
groupRecoverInfo?: Uint8Array;
privateRecoverInfo?: Uint8Array;
pubKey?: Uint8Array;
};
} & {
criminals?: {
criminals?: (...)[];
} & {
criminals?: (...) & (...) & (...);
} & {
[K in string | number | symbol]: never
};
data?: {
groupRecoverInfo?: Uint8Array;
privateRecoverInfo?: Uint8Array;
pubKey?: Uint8Array;
} & {
groupRecoverInfo?: Uint8Array;
privateRecoverInfo?: Uint8Array;
pubKey?: Uint8Array;
} & {
[K in string | number | symbol]: never
};
} & {
[K in string | number | symbol]: never
};
needRecover?: boolean;
signResult?: {
criminals?: {
criminals?: {
crimeType?: ...;
partyUid?: ...;
}[];
};
signature?: Uint8Array;
} & {
criminals?: {
criminals?: (...)[];
} & {
criminals?: (...) & (...) & (...);
} & {
[K in string | number | symbol]: never
};
signature?: Uint8Array;
} & {
[K in string | number | symbol]: never
};
traffic?: {
isBroadcast?: boolean;
payload?: Uint8Array;
toPartyUid?: string;
} & {
isBroadcast?: boolean;
payload?: Uint8Array;
toPartyUid?: string;
} & {
[K in string | number | symbol]: never
};
} & {
[K in string | number | symbol]: never
}
toJSON:function
- toJSON(message): unknown
Returns unknown