Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

7
  • Yeah I'm aware about endian issues - but it's just a quick tool I'm writing which will run on about 3 computers. Commented Aug 20, 2014 at 17:44
  • 1
    @A.B., this, I believe. It is now located here. Commented Aug 20, 2014 at 22:35
  • 1
    I went with ´mem::uninitialized´ as opposed to mem::zeroed at the end. Doesn't seem to be much point initializing the memory to 0 if it's going to be overwritten anyway. Commented Aug 23, 2014 at 14:19
  • this gives me a "warning, this warning will become an error" message, github.com/rust-lang/rust/issues/46043 Commented Jul 2, 2018 at 1:18
  • While the general outline of this code is good, this specific instance violates Rust's safety. The values for the character data are not valid and exceed the currently supported boundaries of characters. Commented Nov 4, 2019 at 20:27