pub fn read_bytes(bytes: &[u8]) -> Result<Package, StarterError>Expand description
Read a package from memory. Refuses an archive with too many entries
or too many unpacked bytes, an entry outside templates/, a path that
would escape its folder, a template that is not UTF-8 text, and an
archive without theme.json.
ยงErrors
StarterError::Invalid naming the problem.