pub fn encode_file(
metadata: &FileMetadata,
content_len: u64,
) -> Result<Vec<u8>, ArchiveError>Expand description
Header bytes for a file entry; exactly content_len raw content bytes
must follow. metadata.filename() is the file’s relative path.