pub fn decode_counter(raw: Option<&[u8]>) -> Option<u64>
Decode a big-endian u64 counter value (absent → 0).
u64
Returns None from the outer option for a malformed value.
None