インフォ FAQ
言語 環境比較
 
Index
 
  Processing 1.0 _ALPHAリファレンスは開発途中である。
もしエラーやコメントがあれば、reas at groupc.netへメールして下さい。
Name  

saveBytes()

   
Examples  
byte[] nums = { 0, 34, 5, 127, 52}; 
 
// ファイルにバイトを書き込む 
saveBytes("numbers.txt", nums); 

Description  

readBytes()の反対で、バイトの全配列をファイルに書き込む

 

   
Syntax  
saveBytes(filename, bytes)
   
Parameters  
filename   書き込むファイルの名前

bytes   書き込まれるバイトの配列

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