rename symbol

This commit is contained in:
Quaternions 2024-12-31 21:50:20 -08:00
parent 53bde2bc3f
commit a78be6b79a

View File

@ -437,7 +437,7 @@ impl<R:BinReaderExt> File<R>{
let mut big_block=Block::default();
for &TimedBlockId{time:_,block_id} in block_iter{
let block_info=self.header.block_info(block_id)?;
self.data.read_block_info_into(block_info,&mut big_block)?;
self.data.read_block_info_into_block(block_info,&mut big_block)?;
}
Ok(big_block)
}
@ -459,7 +459,7 @@ impl<R:BinReaderExt> FileData<R>{
let block=Block::read(data).map_err(Error::InvalidData)?;
Ok(block)
}
pub fn read_block_info_into(&mut self,block_info:BlockInfo,block:&mut Block)->Result<(),Error>{
pub fn read_block_info_into_block(&mut self,block_info:BlockInfo,block:&mut Block)->Result<(),Error>{
let data=self.block_reader(block_info)?;
Block::read_into_amortized(data,block).map_err(Error::InvalidData)?;
Ok(())