Resizes the `StaticBuf` by settings `self.len` to `new_size` if `new_size <= Self::max_size()`. This is only a single variable change and WILL NOT zero or change any of the buffers bytes. # Panics Panics if the new size is greater than max_size (`new_size > Self::max_size()`). # Examples ``` use btle::bytes::{StaticBuf, Storage}; let mut buf = StaticBuf:: ::with_size(10); assert_eq!(b
(&mut self, new_size: usize)
source not stored for this graph (policy: none)
no outgoing calls
no test coverage detected