feat & refactor: add more packetElement & refactor packetMsg

This commit is contained in:
pk5ls20
2024-10-18 16:01:54 +08:00
parent 524fd258d8
commit 698e095364
10 changed files with 119 additions and 38 deletions

View File

@@ -1,4 +1,4 @@
import assert from "node:assert";
import * as assert from "node:assert";
export class Frame{
static pack(head: Buffer, body: Buffer): Buffer {