pub fn _try_parse_las_header(data: &[u8]) -> Result<LASHeader> {
    if data.len() < 227 {
        return Err(anyhow!(
            "Could not parse LAS header, buffer has to be at least 227 bytes large!"
        ));
    }
    bincode::deserialize(data).map_err(|e| anyhow!("Could not deserialize LAS header: {}", e))
}
/**
 * Try parsing a LAS header from the given binary blob
 */
Try parsing a LAS header from the given binary blob
Try parsing a LAS header from the given binary blob
pub fn _try_parse_las_header(data: &[u8]) -> Result<LASHeader> {
    if data.len() < 227 {
        return Err(anyhow!(
            "Could not parse LAS header, buffer has to be at least 227 bytes large!"
        ));
    }
    bincode::deserialize(data).map_err(|e| anyhow!("Could not deserialize LAS header: {}", e))
}
pub fn _try_parse_las_header ( data : & [ u8 ] ) -> Result < LASHeader > { if data . len ( ) < 227 { return Err ( anyhow ! ( " " ) ) ; } bincode :: deserialize ( data ) . map_err ( | e | anyhow ! ( " " e ) ) }
Try parsing a LAS header from the given binary blob
Try parsing a LAS header from the given binary blob
data
&[u8]