[][src]Function morton_encoding::morton_encode_u8_8d

pub fn morton_encode_u8_8d(x: [u8; 8]) -> u64

Encodes an array of 8 u8 values ([u8; 8]), producing one u64 value as the result.

In the event that one u64 is strictly larger than 8 u8s, all significant bits are gathered at the end, and extraneous bits at the beginning are cleared.