(&self)
| 480 | /// Returns whether this buffer is empty or not. |
| 481 | #[inline] |
| 482 | pub const fn is_empty(&self) -> bool { |
| 483 | self.len == 0 |
| 484 | } |
| 485 | |
| 486 | /// Returns the length (the number of bytes written) in this buffer. |
| 487 | /// The invariant `buffer.len() <= buffer.capacity()` is always upheld. |
no outgoing calls
no test coverage detected