pub fn write_disk(world_id: u64, sector: u64, data: &[u8]) -> Result<usize, ()>
Writes sectors to the world’s block device from data.
data
Returns the number of bytes written, clamped to the disk capacity and to the length of data.