pub fn encode_find_entries(entries: &[FindEntry], class: u8) -> Vec<u8> ⓘExpand description
Encode directory entries into the NextEntryOffset-chained form used by QUERY_DIRECTORY responses. The final entry terminates with offset 0 and intermediate strides are 8-byte aligned ([MS-FSCC] §2.4 requires 8-byte alignment for SMB2 clients).