IdUtils

class IdUtils

Utilities for generating 64-bit long IDs from types such as CharSequence.

Functions

hashLong64Bit
Link copied to clipboard
open fun hashLong64Bit(value: Long): Long
Hash a long into 64 bits instead of the normal 32.
hashString64Bit
Link copied to clipboard
open fun hashString64Bit(@Nullable() str: CharSequence): Long
Hash a string into 64 bits instead of the normal 32.