Skip to main content

read_data_raw

Function read_data_raw 

Source
pub fn read_data_raw(
    buffer: &[u8],
    pixel_data: Option<&mut DecodeTarget>,
    bit_depth: u32,
    step: usize,
    offset: usize,
)
Expand description

Mirror readDataRaw. Down-converts 16/32-bit samples to 8-bit (top byte).