/// Get the content of the byte string with the specified id and apply the
/// given operation over it.
Get the content of the byte string with the specified id and apply the
given operation over it.
Get the content of the byte string with the specified id and apply the given operation over it .
pub fn with_byte_string<F, O>(&self, id: usize, with: F) -> Option<O>
    where
        F: FnOnce(&[u8]) -> O,
    {
        let inner = self.inner.borrow();
        let s = inner.byte_strings.get(id)?;
        Some(with(s))
    }
pub fn with_byte_string < F , O > ( & self , id : usize , with : F ) -> Option < O > where F : FnOnce ( & [ u8 ] ) -> O , { let inner = self . inner . borrow ( ) ; let s = inner . byte_strings . get ( id ) ? ; Some ( with ( s ) ) }
Get the content of the byte string with the specified id and apply the
given operation over it.
Get the content of the byte string with the specified id and apply the given operation over it .
&self
id
usize
with
F