pub fn from_path<P: AsRef<Path>>(path: P) -> Result<Reader<BufReader<File>>> {
        File::open(path).map_err(::Error::from).and_then(|file| {
            Reader::new(BufReader::new(file))
        })
    }
/// Creates a new reader from a path.
///
/// The underlying `File` is wrapped in a `BufReader` for performance reasons.
///
/// # Examples
///
/// ```
/// # use las::Reader;
/// let reader = Reader::from_path("tests/data/autzen.las").unwrap();
/// ```
Creates a new reader from a path.
The underlying `File` is wrapped in a `BufReader` for performance reasons.
Creates a new reader from a path . The underlying ` File ` is wrapped in a ` BufReader ` for performance reasons .
pub fn from_path<P: AsRef<Path>>(path: P) -> Result<Reader<BufReader<File>>> {
        File::open(path).map_err(::Error::from).and_then(|file| {
            Reader::new(BufReader::new(file))
        })
    }
pub fn from_path < P : AsRef < Path > > ( path : P ) -> Result < Reader < BufReader < File > > > { File :: open ( path ) . map_err ( :: Error :: from ) . and_then ( | file | { Reader :: new ( BufReader :: new ( file ) ) } ) }
Creates a new reader from a path.
Creates a new reader from a path .
path
P
examples
None
use las::reader;
let reader = Reader::from_path("tests/data/autzen.las").unwrap();
```
let reader = Reader :: from_path ( " tests / data / autzen . las " ) . unwrap () ; ` ` `