• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Uploading library to Google Drive failing
#12
I got it!
The asInt() function in the Java library returns a signed int32 in little-endian byte order. So in the node.js package I am using, the correct code to reproduce the hash is

Code:
const h = murmurHash(buf, "buffer", 0xc58f1a7b);
hash = h.readInt32BE();
Reply


Messages In This Thread
RE: Uploading library to Google Drive failing - by Taxel - 03-08-2020, 05:29 AM



Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2024 MyBB Group.