Advertisement
Guest User

Untitled

a guest
Mar 20th, 2019
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. public class FileGenerator {
  2. public static void main(String[] args) throws IOException {
  3. FileChannel channel = new FileOutputStream(new File(args[0])).getChannel();
  4. channel.write(ByteBuffer.allocate(1), Long.valueOf(args[1]));
  5. }
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement