Function decode_server_time
Source pub fn decode_server_time(buf: &[u8]) -> Result<i64, SbeDecodeError>
Expand description
Decode a server time response.
Returns the server time as microseconds since epoch (SBE provides
microsecond precision vs JSON’s milliseconds).
§Errors
Returns error if buffer is too short or schema mismatch.
§Panics
This function will not panic as buffer lengths are validated before slicing.