Skip to main content

screenshot_len

Function screenshot_len 

Source
pub(crate) fn screenshot_len(width: i32, height: i32) -> Option<usize>
Expand description

The byte length of one width x height RGBA frame, None for an empty or overflowing one.