Writing down binary data... with padding bytes

Back to zero-overhead: could Rust say these are not UB for padding bytes?

  • libc::memcpy
  • libc::write

Ways to get confidence:

  • examine compiled libc
  • re-implement manually in asm