This commit is contained in:
dela
2026-02-21 18:27:49 +08:00
parent 0ac4b23f07
commit 5dc86ccfbf
270 changed files with 49508 additions and 4636 deletions

12
node_modules/@msgpack/msgpack/src/ExtData.ts generated vendored Normal file
View File

@@ -0,0 +1,12 @@
/**
* ExtData is used to handle Extension Types that are not registered to ExtensionCodec.
*/
export class ExtData {
readonly type: number;
readonly data: Uint8Array | ((pos: number) => Uint8Array);
constructor(type: number, data: Uint8Array | ((pos: number) => Uint8Array)) {
this.type = type;
this.data = data;
}
}