Fix is_empty

This commit is contained in:
asonix 2024-02-22 17:09:03 -06:00
parent f3e455a1c3
commit 59b03d548d

View file

@ -50,7 +50,7 @@ impl BytesStream {
}
pub(crate) fn is_empty(&self) -> bool {
self.total_len > 0
self.total_len == 0
}
pub(crate) fn into_reader(self) -> BytesReader {