@aokiapp/tlv
Version:
Tag-Length-Value (TLV) parser and builder library with schema support. Provides both parsing and building APIs as submodules.
19 lines • 468 B
TypeScript
export declare const TagClass: {
readonly Universal: 0;
readonly Application: 1;
readonly ContextSpecific: 2;
readonly Private: 3;
};
export type TagClass = (typeof TagClass)[keyof typeof TagClass];
export interface TagInfo {
tagClass: TagClass;
constructed: boolean;
tagNumber: number;
}
export interface TLVResult {
tag: TagInfo;
length: number;
value: ArrayBuffer;
endOffset: number;
}
//# sourceMappingURL=types.d.ts.map