ps-buffer 0.1.0-21

aligned heap buffer
Documentation
1
2
3
4
5
6
7
8
9
use crate::{constants::FACTOR, Buffer};

impl Buffer {
    #[inline]
    #[must_use]
    pub const fn capacity_u128(&self) -> usize {
        self.capacity().div_ceil(FACTOR)
    }
}