Skip to main content

encode_time

Function encode_time 

Source
pub fn encode_time(value: i64) -> [u8; 8]
Expand description

Encodes a Time (i64) for lexicographic ordering.

Time is nanoseconds within a day (always positive), so big-endian is sufficient.