[][src]Function laz::las::laszip::compress_buffer

pub fn compress_buffer<W: Write + Seek + Send>(
    dst: &mut W,
    uncompressed_points: &[u8],
    laz_vlr: LazVlr
) -> Result<()>

Compresses all points

The data written will be a standard LAZ file data that means its organized like this:

  1. offset to the chunk_table (i64)
  2. the points data compressed
  3. the chunk table

dst: Where the compressed data will be written

uncompressed_points: byte slice of the uncompressed points to be compressed