Name | saveBytes() |
||||
---|---|---|---|---|---|
Examples |
nums = 0, 34, 5, 127, 52 # Writes the bytes to a file saveBytes("numbers.dat", nums) | ||||
Description | As the opposite of loadBytes(), this function will write an entire list of bytes to a file. The data is saved in binary format. This file is saved to the sketch's folder, which is opened by selecting "Show Sketch Folder" from the "Sketch" menu. Alternatively, the files can be saved to any location on the computer by using an absolute path (something that starts with / on Unix and Linux, or a drive letter on Windows). | ||||
Syntax | saveBytes(filename, data) | ||||
Parameters |
| ||||
Related |
loadStrings() loadBytes() saveStrings() |
Updated on Mon Sep 21 15:53:25 2020.
If you see any errors or have comments, please let us know.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License