Make source comments and build tools self-contained
This commit is contained in:
1 parent
4a2f1c120c
commit
5df305e2f9
106 files changed
+152
-183
No files matched your search
@@ -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';
|
||||
|
||||
Reference in new issue
Block a user