wip crack encoder

This commit is contained in:
Tau
2019-11-06 17:28:29 -05:00
parent ba35781460
commit 91ab2e9b41
25 changed files with 368 additions and 235 deletions
+10
View File
@@ -0,0 +1,10 @@
import { GenericResponse } from "../response/generic";
export function generic(res: GenericResponse) {
const buf = Buffer.alloc(0x0020);
buf.writeInt16LE(0x0001, 0x0000);
buf.writeInt32LE(res.status, 0x0004);
return buf;
}