/// Returns the maximum size of a single chunk for a flash write operation (limited by the USB
/// endpoint buffer size).
Returns the maximum size of a single chunk for a flash write operation (limited by the USB
endpoint buffer size).
Returns the maximum size of a single chunk for a flash write operation ( limited by the USB endpoint buffer size ) .
pub(crate) fn max_program_chunk_size(&self) -> usize {
        // The packets written via USB include not only the payload, but also the start address. The
        // payload size is thus 4 bytes smaller than the available buffer.
        self.out_buffer_length as usize - 4
    }
pub ( crate ) fn max_program_chunk_size ( & self ) -> usize { // The packets written via USB include not only the payload, but also the start address. The // payload size is thus 4 bytes smaller than the available buffer. self . out_buffer_length as usize - 4 }
Returns the maximum size of a single chunk for a flash write operation (limited by the USB
endpoint buffer size).
Returns the maximum size of a single chunk for a flash write operation ( limited by the USB endpoint buffer size ) .
&self