Function rle_decode_fast::rle_decode[][src]

pub fn rle_decode<T>(
    buffer: &mut Vec<T>,
    lookbehind_length: usize,
    fill_length: usize
) where
    T: Copy

Fast decoding of run length encoded data

Takes the last lookbehind_length items of the buffer and repeatedly appends them until fill_length items have been copied.

Panics