Skip to main content

rreaddir

Function rreaddir 

Source
pub fn rreaddir(tag: u16, data: &[u8]) -> Vec<u8> ⓘ
Expand description

Encode an Rreaddir. Body is count[4] · data[count] (identical framing to rread) but the message type is RREADDIR (41). data must already be a packed run of standard dirent records — build it with encode_readdir_page.