buffer
buffer copied to clipboard
writeBigUint64BE isn't defined, but writeBigUInt64BE is
One of the node modules that i'm importing uses this method, I'm currently developing in a browser environment, I used a polyfill to access buffer (https://www.npmjs.com/package/node-polyfill-webpack-plugin) that loads this buffer at the latest version. From the lib that i have to use an error is being throwed saying that Buffer.prototype.writeBigUint64BE isn't defined
Oh ok I found out what's the problem here.
I created a plain node script to test it:
This thing right here doesn't work with this library.
If i do the same thing from browser i obtain
Thanks, I almost lost my mind on this stupid thing