Make source comments and build tools self-contained

This commit is contained in:
N0VAN0M4LY committed 2026-11-29 08:46:08 +08:00
1 parent 4a2f1c120c
commit 5df305e2f9
106 files changed
+152 -183

No files matched your search

+2 -8
View File
@@ -1,12 +1,6 @@
/**
* Bodies exchanged with the char service.
*
* Answers carrying data are a compression marker followed by a binary BLK; the client loads
* them with loadBlkFromAnswer (aces.exe 0x336fd60). We always send them uncompressed.
*
* What the client sends in request bodies is not established yet, so
* decoding is attempted in the forms that are plausible (marked or bare binary BLK, form
* text) and the traffic log records which form it was.
* Encodes uncompressed binary BLK answers and decodes request bodies for the char service.
* The traffic log records the detected body format and its readable representation.
*/
import { decodeBlk, encodeBlk, formatBlkText, type BlkBlock } from '@wto/blk';
import { markUncompressed, unpackMarked } from './compression-marker.ts';