Skip to main content

parse_offload_write

Function parse_offload_write 

Source
pub fn parse_offload_write(input: &[u8]) -> Option<(u64, u64, u64, [u8; 16])>
Expand description

Parse FSCTL_OFFLOAD_WRITE_INPUT ([MS-FSCC] §2.3.79) into (FileOffset, CopyLength, TransferOffset, token_id), extracting the 16-byte identifier from the token this server issued.