capacity

Function capacity 

Source
pub const fn capacity(desired: usize) -> usize
Expand description

Calculates necessary buffer capacity to fit provided number of bytes