See Also: FileInputStream Members
An input stream that reads bytes from a file.
java Example
File file = ... InputStream in = null; try { in = new BufferedInputStream(new FileInputStream(file)); ... finally { if (in != null) { in.close(); } } }
This stream is not buffered. Most callers should wrap this stream with a Java.IO.BufferedInputStream.
Use Java.IO.FileReader to read characters, as opposed to bytes, from a file.