public static constructor_from_pubkey(pubkey: Uint8Array): NodeId {
const ret: number = bindings.NodeId_from_pubkey(bindings.encodeUint8Array(bindings.check_arr_len(pubkey, 33)));
const ret_hu_conv: NodeId = new NodeId(null, ret);
public static constructor_from_pubkey(pubkey: Uint8Array): NodeId {
const ret: number = bindings.NodeId_from_pubkey(bindings.encodeUint8Array(bindings.check_arr_len(pubkey, 33)));
const ret_hu_conv: NodeId = new NodeId(null, ret);