Function rustracer::hdrimage::check_eol

source ·
fn check_eol(eol: bool) -> Result<(), HdrImageErr>
Expand description

Boolean check end of line.

Return an HdrImageErr::InvalidPfmFileFormat as function of passed boolean eol. Where eol is true if contain ‘\n’, false if not contain \n.