pub fn parse_dir_entries(buf: &[u8]) -> Vec<Result<DirEntry, DecodeDirentError>>
Expand description
Parses the buffer returned by a read_dirents FIDL call.
Returns either an error or a parsed entry for each entry in the supplied buffer (see read_dirents for the format of this buffer).