Returns true if the internal buffer is empty and will be refilled when calling [`next`]. This is useful to avoid further blocking reads. [`next`]: Self::next
(&self)
| 214 | /// |
| 215 | /// [`next`]: Self::next |
| 216 | pub fn is_buffer_empty(&self) -> bool { |
| 217 | self.offset >= self.initialized |
| 218 | } |
| 219 | } |