pub fn validate_snapshot_bytes(
bytes: &[u8],
) -> Result<Vec<u8>, PostgresGraphError>Expand description
Returns owned snapshot bytes unchanged after validation.
§Errors
Returns PostgresGraphError::Snapshot when validation fails.
§Performance
This function is O(s + b) where s is section count and b is byte length.