pub fn write_tga_to_vec(tga: &Tga) -> Result<Vec<u8>, TgaBinaryError>Expand description
Serializes TGA data into a byte vector.
ยงErrors
TgaBinaryError::InvalidHeader on the terms write_tga gives. The
Vec target has no I/O to fail at.
pub fn write_tga_to_vec(tga: &Tga) -> Result<Vec<u8>, TgaBinaryError>Serializes TGA data into a byte vector.
TgaBinaryError::InvalidHeader on the terms write_tga gives. The
Vec target has no I/O to fail at.