HeapsIO / hxbit

Haxe Binary serialization and network synchronization library
155 stars 30 forks source link

Fixed hash function on javascript target #11

Closed NuclearCookie closed 7 years ago

NuclearCookie commented 7 years ago

On javascript, the hash function was not correct. You're expecting the value to wrap around when overflowing, on JS it was treated as a float instead.