How do I write a byte[] in raw (unformatted) format to disk?
File("f.raw", "wb").write(x)
doesn't seem to do it.
Why isn't the "wb" interpreted as raw bytes?
How do I write a byte[] in raw (unformatted) format to disk?
File("f.raw", "wb").write(x)
doesn't seem to do it.
Why isn't the "wb" interpreted as raw bytes?