I am programming a Node JS client that's querying a third-party server for information. Part of the message that I receive back from the third party server is a UINT 128 (specified in documentation). However, from what I can tell, NodeJS buffers do not support reading 128 bit ints from buffers. I have checked this page and the two most likely functions (reading BIGINTS and reading unspecified byte length ints) both don't support 128 bit integers.
I've already tried installing and using the big-integer module, but if that is the correct method, I couldn't understand how to read the bytes out of the buffer into a big-integer object.
How can I read a UINT128 out of a NodeJS buffer? I'm' willing to use bit arithmetic if necessary, I'm just not sure how.