Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class FileGenerator {
- public static void main(String[] args) throws IOException {
- FileChannel channel = new FileOutputStream(new File(args[0])).getChannel();
- channel.write(ByteBuffer.allocate(1), Long.valueOf(args[1]));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement