pub fn serialize(metadata: &FileMetadata) -> Result<SecureBytes, HeaderError>Expand description
Serializes a metadata envelope. Fails with
HeaderError::MetadataTooLong when the filename pushes the envelope
past what the header can hold.
pub fn serialize(metadata: &FileMetadata) -> Result<SecureBytes, HeaderError>Serializes a metadata envelope. Fails with
HeaderError::MetadataTooLong when the filename pushes the envelope
past what the header can hold.