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

21 lines
667 B
Plaintext

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.convertAAGUIDToString = convertAAGUIDToString;
const index_js_1 = require("./iso/index.js");
/**
* Convert the aaguid buffer in authData into a UUID string
*/
function convertAAGUIDToString(aaguid) {
// Raw Hex: adce000235bcc60a648b0b25f1f05503
const hex = index_js_1.isoUint8Array.toHex(aaguid);
const segments = [
hex.slice(0, 8), // 8
hex.slice(8, 12), // 4
hex.slice(12, 16), // 4
hex.slice(16, 20), // 4
hex.slice(20, 32), // 8
];
// Formatted: adce0002-35bc-c60a-648b-0b25f1f05503
return segments.join('-');
}