Untitled

mail@pastecode.io avatar
unknown
java
3 years ago
517 B
0
Indexable
Never
    import java.io.*;
import java.lang.*;
    import java.nio.charset.StandardCharsets;

    public class Main {

        public static void main(String[] args) throws IOException{
                InputStream in = new FileInputStream("in.txt");
                byte[] bytes = new byte[in.available()];
                bytes = in.readAllBytes();

                for(int i = 0; i < bytes.length; i++) {
                    System.out.write(bytes[i]);
                }

            System.out.flush();
        }
    }