You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There’s `Write` implement for slice of bytes so it’s not unreasonable
to also have one for slice of `MaybeUninit` bytes.
This makes dealing with uninitialised memory slightly easier in some
cases (though it sadly doesn’t eliminate use of `unsafe` once the data
is written) and makes it possible to use existing APIs which `Write`
data (e.g. `serde_json::to_writer`) to initialise memory.
0 commit comments