fn wrap_transform(
        &mut self,
        input: &[u8],
        output: &mut [u8],
        flush: FlushState,
    ) -> Result<Status, Error> {
        if self.strict() {
            return self.internal_transform(input, output, flush);
        }
        let (buf, offsets) = self.filter_sequence(input);
        let res = self.internal_transform(&buf, output, flush);
        self.fix_offsets(&offsets, res)
    }
/// The main implementation of the `FilteredDecoder`.
///
/// This function should be called from `Codec::transform` and performs the filtering in
/// non-strict mode.
The main implementation of the `FilteredDecoder`.
This function should be called from `Codec::transform` and performs the filtering in
non-strict mode.
The main implementation of the ` FilteredDecoder ` . This function should be called from ` Codec :: transform ` and performs the filtering in non - strict mode .
fn wrap_transform(
        &mut self,
        input: &[u8],
        output: &mut [u8],
        flush: FlushState,
    ) -> Result<Status, Error> {
        if self.strict() {
            return self.internal_transform(input, output, flush);
        }
        let (buf, offsets) = self.filter_sequence(input);
        let res = self.internal_transform(&buf, output, flush);
        self.fix_offsets(&offsets, res)
    }
fn wrap_transform ( & mut self , input : & [ u8 ] , output : & mut [ u8 ] , flush : FlushState , ) -> Result < Status , Error > { if self . strict ( ) { return self . internal_transform ( input , output , flush ) ; } let ( buf , offsets ) = self . filter_sequence ( input ) ; let res = self . internal_transform ( & buf , output , flush ) ; self . fix_offsets ( & offsets , res ) }
The main implementation of the `FilteredDecoder`.
The main implementation of the ` FilteredDecoder ` .
&mut self
input
&[u8]
output
&mut [u8]
flush
FlushState
&mut self
input
&[u8]
output
&mut [u8]
flush
FlushState