Lines Matching refs:stream
5326 FileOutputStream stream = new FileOutputStream(mFile.chooseForWrite());
5327 stream.write(next.marshall());
5328 stream.flush();
5329 FileUtils.sync(stream);
5330 stream.close();
5341 static byte[] readFully(FileInputStream stream) throws java.io.IOException {
5343 int avail = stream.available();
5346 int amt = stream.read(data, pos, data.length-pos);
5355 avail = stream.available();
5377 FileInputStream stream = new FileInputStream(file);
5379 byte[] raw = readFully(stream);
5383 stream.close();