Closed ghost closed 3 years ago
How do I replicate this so that I can set payload for steam.core.msg.Msg:
let payload = new ByteBuffer(12, ByteBuffer.LITTLE_ENDIAN); payload.writeInt64(25523252); payload.writeInt32(1);
Look into Python's struct module
struct
How do I replicate this so that I can set payload for steam.core.msg.Msg:
let payload = new ByteBuffer(12, ByteBuffer.LITTLE_ENDIAN); payload.writeInt64(25523252); payload.writeInt32(1);