fix: encodeFile

This commit is contained in:
手瓜一十雪 2024-09-08 10:34:49 +08:00
parent 48a07a580e
commit 5ee7d55fb1

View File

@ -65,7 +65,7 @@ export class FileNapCatOneBotUUID {
const length = Buffer.alloc(4 + data.length);
length.writeUInt32BE(data.length, 0);
length.write(data, 4);
return length.toString('hex');
return length.toString('hex') + endString;
}
static decode(uuid: string): undefined | {