svoid saveBinaryFileVerbose(File f, byte[] data) { bool exists = f.exists(); saveBinaryFile(f, data); print((!exists ? "Created" : "Updated") + " file " + f2s(f) + " (" + f.length() + " bytes)"); }
Began life as a copy of #1005015
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1028233 |
Snippet name: | saveBinaryFileVerbose |
Eternal ID of this version: | #1028233/1 |
Text MD5: | 850249e81a72b811f5f21261cef67dce |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-05-27 14:36:49 |
Source code size: | 207 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 252 / 294 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |