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
.
fn check_eol(eol: bool) -> Result<(), HdrImageErr>
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
.