idz: Add LockProfileExtend

This commit is contained in:
Tau
2019-11-06 17:28:30 -05:00
parent 6a89e6a15a
commit 5c6b8f27a4
10 changed files with 64 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
import { LockProfileExtendResponse } from "../response/lockProfileExtend";
export function lockProfileExtend(res: LockProfileExtendResponse): Buffer {
const buf = Buffer.alloc(0x0010);
buf.writeUInt16LE(0x006e, 0x0000);
buf.writeUInt8(res.status, 0x0004);
return buf;
}