Struct lodepng::Chunk [] [src]

pub struct Chunk {
    // some fields omitted
}

Methods

impl Chunk
[src]

fn len(&self) -> usize

fn is_ancillary(&self) -> c_uchar

fn is_private(&self) -> bool

fn is_safetocopy(&self) -> bool

fn data(&self) -> *mut c_uchar

fn check_crc(&self) -> bool

fn generate_crc(&mut self)

fn next(&self) -> Option<Chunk>

fn append(&self, out: &mut *mut u8, outlength: *const size_t) -> Result<()Error>

fn create(out: &mut *mut u8, outlength: *const size_t, length: c_uint, chtype: *const c_char, data: *const u8) -> Result<()Error>