Language \ Environment \ Comparison
 
Index
 
  The Processing 1.0 _ALPHA_ Reference is a work in progress.
If you see any errors or have any comments, please write to: reas at groupc.net
Name  

saveBytes()

   
Examples  
byte[] nums = { 0, 34, 5, 127, 52}; 
 
// now write the bytes to a file 
saveBytes("numbers.txt", nums); 

Description   Opposite of loadBytes(), will write an entire array of bytes to a file. Files are created in the main Processing directory (the same directory as the executable file).
   
Syntax  
saveBytes(filename, bytes)
   
Parameters  
filename   name of file to write to

bytes   array of bytes to be written

   
Returns   None
   
Usage   Web & Application
   
Related   loadStream()
loadStrings()
loadBytes()
saveStrings()
   
© 2004 - 2001 Massachusetts Institute of Technology and Interaction Design Institute Ivrea
Processing is an open project initiated by Ben Fry and Casey Reas