Closed pkerpedjiev closed 1 year ago
get_zoom_block_values was trying to read itemcount * 64 bytes from data_mut, but data_mut is only itemcount * 64 bytes long.
get_zoom_block_values
itemcount * 64
data_mut
Changed the # of bytes read and added a test to verify. Without this change the test errors out with
[Err(IoError(Error { kind: UnexpectedEof, message: "failed to fill whole buffer" }))]
get_zoom_block_values
was trying to readitemcount * 64
bytes fromdata_mut
, butdata_mut
is onlyitemcount * 64
bytes long.Changed the # of bytes read and added a test to verify. Without this change the test errors out with
[Err(IoError(Error { kind: UnexpectedEof, message: "failed to fill whole buffer" }))]