<div dir="ltr">I'm messing around with adding some conversions of raw to/from virtual disks to the API and noticed that the functions vdiRead and vdiWrite (in VDI.cpp) assert whenever the amount being read/written is not a multiple of 512.<div>

<br></div><div>Do these functions break when the byte count is not a multiple of 512 or is this just a sanitary check?<br><div>Are these asserts valid when dealing with binary image files (they could have any size) vs block devices?<br>

</div><div><br></div><div><div style>Thanks,</div>-- Ribhi

</div></div></div>