Retain is_empty on the public checked byte reader

This commit is contained in:
Dylan M. Taylor committed 2026-11-17 08:54:38 -05:00
1 parent 66f8c51048
commit c93a6057fe
1 file changed
+4
+4
View File
@@ -14,6 +14,10 @@ impl<'a> Reader<'a> {
self.data.len()
}
pub fn is_empty(&self) -> bool {
self.data.is_empty()
}
pub fn data(&self) -> &'a [u8] {
self.data
}