pub fn encode_epub( bytes: &[u8], warnings: &[Warning], ) -> Result<Vec<u8>, WireError>
Encodes an EPUB and its warnings, version first.