write_dds

Function write_dds 

Source
pub fn write_dds<W: Write>(
    writer: &mut W,
    dds: &Dds,
) -> Result<(), DdsBinaryError>
Expand description

Writes DDS data to a writer.

Dispatches on source_flavor: if the container was decoded from a CResDDS prefix header, the output is re-emitted in that format (20-byte prefix + raw payload). Otherwise the standard DDS container is written.