pub(super) fn encode_directory(groups: &[Group]) -> Vec<u8> ⓘ
Encodes the directory followed by its fixed-size footer.