Files
NapCatQQ/.pnpm-store/v3/files/2d/5e1c4dce24539b18f35605089482d4474b94544f8444b2e7963bfd8e30761e9cf7698524dc837aeffc08dd32a3d89d1c3e55c1150a18d7814d160eb0192467
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

19 lines
718 B
Plaintext

import { BufferSource } from "pvtsutils";
import { IEmptyConstructor } from "./types";
export declare class AsnConvert {
static serialize(obj: unknown): ArrayBuffer;
static parse<T>(data: BufferSource, target: IEmptyConstructor<T>): T;
/**
* Returns a string representation of an ASN.1 encoded data
* @param data ASN.1 encoded buffer source
* @returns String representation of ASN.1 structure
*/
static toString(data: BufferSource): string;
/**
* Returns a string representation of an ASN.1 schema
* @param obj Object which can be serialized to ASN.1 schema
* @returns String representation of ASN.1 structure
*/
static toString(obj: unknown): string;
}