Skip to main content

read_session_header

Function read_session_header 

Source
pub fn read_session_header(path: &str) -> Result<Option<Value>, HeaderScanError>
Expand description

readSessionHeader: the header from the first parsed line, reading at most [MAX_SESSION_HEADER_SCAN_BYTES] (plus one byte to tell a file that ends there from a longer one).