Function self_encryption::decrypt_range
source · [−]pub fn decrypt_range(
data_map: &DataMap,
chunks: &[EncryptedChunk],
relative_pos: usize,
len: usize
) -> Result<Bytes>
Expand description
Decrypts a range, used when seeking.
relative_pos
is the position within the first read chunk, that we start reading from.