pub fn size_in_bytes(len: usize) -> usize {
        let v = no_required_allocation_units(len * mem::size_of::<T>())
            * allocation_granularity();
        debug_assert!(
            v >= len * mem::size_of::<T>(),
            "len: {}, so<T>: {}, v: {}",
            len,
            mem::size_of::<T>(),
            v
        );
        v
    }
/// Total number of bytes in the buffer.
Total number of bytes in the buffer.
Total number of bytes in the buffer .
pub fn size_in_bytes(len: usize) -> usize {
        let v = no_required_allocation_units(len * mem::size_of::<T>())
            * allocation_granularity();
        debug_assert!(
            v >= len * mem::size_of::<T>(),
            "len: {}, so<T>: {}, v: {}",
            len,
            mem::size_of::<T>(),
            v
        );
        v
    }
pub fn size_in_bytes ( len : usize ) -> usize { let v = no_required_allocation_units ( len * mem :: size_of :: < T > ( ) ) * allocation_granularity ( ) ; debug_assert ! ( v len mem size_of T ( ) " " len mem size_of T ( ) v ) ; v }
Total number of bytes in the buffer.
Total number of bytes in the buffer .
len
usize
len
usize