@kishea Welcome to the JavaScript chat! Please review the room rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
are the regulars leaving due of that SO blog which led to a toxic atmosphere or the toxic atmosphere created here due of the flagging and moderation interventions or something else?
I am not here when it is night (GMT) so I only read it briefly based on starred messages
I'm using node to do serial comms, and I have to send hex bytes as commands in the following form: [ 0xF2, 0x06 ]. I have this working up to the point where I need to send a 32 bit Integer with the command, in the same way. So e.g sending "3" would be: [ 0xF2, 0x06, 00, 00, 00, 03]. Starting with "3" as a string, how do I output a 32 bit int literal in this way, split up into bytes?
to be fair, it's confusing me too, I'm probably skipping over something. Basically I need to make "3" into [00,00,00,03]. I probably just need to use parseInt don't I.