Function signed::write_package
zaun_community_protocol::signed::write_package · Function
pub fn write_package(header: &Signed<BotPackage>, manifest: &[u8], component: &[u8]) -> Result<Vec<u8>, EncodeError>Writes a .zbot file from a signed header and its parts. The caller computed the
header’s hashes from these exact manifest and component bytes.
Errors
Section titled “Errors”EncodeError::OverLimit for a part over its limit.