mirror of
https://github.com/jwetzell/psn-js.git
synced 2026-08-20 14:39:11 +00:00
convert to typescript
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import chunk from '../chunk';
|
||||
|
||||
export default (timestamp: bigint): Buffer => {
|
||||
const buf = Buffer.alloc(8);
|
||||
buf.writeBigUInt64LE(BigInt(timestamp));
|
||||
return chunk(0x0006, buf, false);
|
||||
};
|
||||
Reference in New Issue
Block a user