write_bin
write_bin(f, bytes)
Input: f, bytes · Output: no output
What it is
The inverse of read_bin: writes raw bytes to f (file handle, opened writable/appendable). bytes is a Vec/List of numbers, every one of them a whole number in 0..=255 — anything else errors rather than being truncated into range.
Overloads
One call shape — this function is not overloaded.
| Code | Input | Output | Description |
write_bin(f, bytes) | f —The inverse of read_bin: writes raw bytes to f (file handle, opened writable/appendable).bytes Vec, List, or numberbytes is a Vec/List of numbers, every one of them a whole number in 0..=255 — anything else errors rather than being truncated into range. | no output | — |
Examples
No documentation example calls this form yet. The File I/O chapter is where one belongs.