BlockSize

Type Alias BlockSize 

Source
pub type BlockSize = u32;
Expand description

An integer type that can represent the size of a memory block in bytes.

Many operating system APIs are limited to 32-bit memory block sizes, so we match it.

A BytesView may contain more data than BlockSize by being composed of multiple blocks but a single block is always limited to BlockSize.