I want to store a 64bit (8 byte) big integer to a nodejs buffer object in big endian format.
The problem about this task is that nodejs buffer only supports writing 32bi
// sending time var sending_time = new Date().getTime(); buffer.writeInt32LE(parseInt(sending_time & 0xffffffff, 10), 16); buffer.writeInt32LE(parseInt(sending_time / 0xffffffff, 10), 20);