Returns the header of this car file.
(&self)
| 42 | |
| 43 | /// Returns the header of this car file. |
| 44 | pub fn header(&self) -> &CarHeader { |
| 45 | &self.header |
| 46 | } |
| 47 | |
| 48 | /// Returns the next IPLD Block in the buffer |
| 49 | pub async fn next_block(&mut self) -> Result<Option<(Cid, Vec<u8>)>, Error> { |
no outgoing calls