fn end_of_block_padding_error(&self, start: usize, end: usize) -> Error {
        for i in start..end {
            if self.buf[i] != 0 {
                return Error::NonZeroPadding { padding_start: start, non_zero_pos: i };
            }
        }
        panic!("invalid padding bytes detected, but missing when generating error");
    }
/// Generates an error for bad padding bytes at the end of a block.
/// Assumes that it is already known that there is an error.
Generates an error for bad padding bytes at the end of a block.
Assumes that it is already known that there is an error.
Generates an error for bad padding bytes at the end of a block . Assumes that it is already known that there is an error .
fn end_of_block_padding_error(&self, start: usize, end: usize) -> Error {
        for i in start..end {
            if self.buf[i] != 0 {
                return Error::NonZeroPadding { padding_start: start, non_zero_pos: i };
            }
        }
        panic!("invalid padding bytes detected, but missing when generating error");
    }
fn end_of_block_padding_error ( & self , start : usize , end : usize ) -> Error { for i in start .. end { if self . buf [ i ] != 0 { return Error :: NonZeroPadding { padding_start : start , non_zero_pos : i } ; } } panic ! ( " " ) ; }
Generates an error for bad padding bytes at the end of a block.
Generates an error for bad padding bytes at the end of a block .
&self
start
usize
end
usize
&self
start
usize
end
usize