potential timestamp issue
danjenkins opened this issue · 0 comments
danjenkins commented
https://nodejs.org/api/buffer.html#buffer_buf_writeuint32be_value_offset
Buffer | Node.js v13.10.1 Documentation
Node.js About these Docs Usage & Example Assertion Testing Async Hooks Buffer C++ Addons C/C++ Addons with N-API Child Processes Cluster Command Line Options
so if any of your fields go out of range, behavior is undefined. so you should make sure to handle that explicitly.
probably more of a issue for your sequence number and not necessarily the timestamp
since the sequence number is only 16 bit