Home | History | Annotate | Download | only in util

Lines Matching defs:stream

121      * Call when you have successfully finished writing to the stream
124 * will return the new file stream.
139 * Call when you have failed for some reason at writing to the stream
141 * write stream, and roll back to the previous state of the file.
183 FileInputStream stream = openRead();
186 int avail = stream.available();
189 int amt = stream.read(data, pos, data.length-pos);
198 avail = stream.available();
206 stream.close();
210 private static boolean sync(@NonNull FileOutputStream stream) {
212 stream.getFD().sync();