mirror of
https://github.com/jwetzell/psn-js.git
synced 2026-08-21 15:09:17 +00:00
ENCODING!! and lots of organization
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
const chunk = require('../chunk');
|
||||
|
||||
module.exports = (validity) => {
|
||||
const buf = Buffer.alloc(4);
|
||||
buf.writeFloatLE(validity);
|
||||
return chunk(0x0003, buf, false);
|
||||
};
|
||||
Reference in New Issue
Block a user