fn decode_header(&self)-> u32{
        let mut size = 0u32;
        let bits_per_pixel = SIZE_LENGTH / HEADER_PIXEL_LENGTH;
        for i in 0..HEADER_PIXEL_LENGTH {
            let partial_bits = self.decode_bits(i as u32, 0, bits_per_pixel);
            let left_shift = (SIZE_LENGTH - 1) - (i * bits_per_pixel);
            size += partial_bits << left_shift;
        }
        size
    }
/// Read first HEADER_PIXEL_LENGTH pixels of container image to decode length of hidden
/// data.
///
/// # Returns:
/// * Length in bytes of hidden data file.
Read first HEADER_PIXEL_LENGTH pixels of container image to decode length of hidden
data.
Read first HEADER_PIXEL_LENGTH pixels of container image to decode length of hidden data .
fn decode_header(&self)-> u32{
        let mut size = 0u32;
        let bits_per_pixel = SIZE_LENGTH / HEADER_PIXEL_LENGTH;
        for i in 0..HEADER_PIXEL_LENGTH {
            let partial_bits = self.decode_bits(i as u32, 0, bits_per_pixel);
            let left_shift = (SIZE_LENGTH - 1) - (i * bits_per_pixel);
            size += partial_bits << left_shift;
        }
        size
    }
fn decode_header ( & self ) -> u32 { let mut size = 0u32 ; let bits_per_pixel = SIZE_LENGTH / HEADER_PIXEL_LENGTH ; for i in 0 .. HEADER_PIXEL_LENGTH { let partial_bits = self . decode_bits ( i as u32 , 0 , bits_per_pixel ) ; let left_shift = ( SIZE_LENGTH - 1 ) - ( i * bits_per_pixel ) ; size += partial_bits << left_shift ; } size }
Read first HEADER_PIXEL_LENGTH pixels of container image to decode length of hidden
data.
Read first HEADER_PIXEL_LENGTH pixels of container image to decode length of hidden data .
&self
&self
returns:
Length in bytes of hidden data file.
Length in bytes of hidden data file .