pub fn write_bytes(client: &Client, handle: &Handle, data: Bytes)Expand description
Writes data to the start of handle, narrowed to data’s length: a reused buffer is often
larger than the chunk written into it, and the CPU runtime copies the whole bound range (a write
shorter than its handle panics there; wgpu and CUDA accept it).
§Panics
If data is longer than the bytes handle addresses.