pub fn write_part_request_plaintext(
hash: &ResourceHash,
last_known_map_hash: Option<&[u8; 4]>,
requested: &[u8],
buf: &mut [u8],
) -> Result<usize, ResourcePartRequestError>Expand description
RNS 1.4.2 Resource.request_next’s pack: [flag] ‖ [last known map hash] (only when exhausted) ‖ resource hash ‖ the requested map hashes back to back.
last_known_map_hash set means the receiver ran past the map hashes it holds and the sender owes a hashmap update naming the run after that mark.