Searched refs:dataInputStream (Results 1 – 2 of 2) sorted by relevance
2561 DataInputStream dataInputStream = new DataInputStream(inputStream); in saveJpegAttributes() local2564 if (dataInputStream.readByte() != MARKER) { in saveJpegAttributes()2568 if (dataInputStream.readByte() != MARKER_SOI) { in saveJpegAttributes()2581 byte marker = dataInputStream.readByte(); in saveJpegAttributes()2585 marker = dataInputStream.readByte(); in saveJpegAttributes()2588 int length = dataInputStream.readUnsignedShort() - 2; in saveJpegAttributes()2594 if (dataInputStream.read(identifier) != 6) { in saveJpegAttributes()2599 if (dataInputStream.skipBytes(length - 6) != length - 6) { in saveJpegAttributes()2614 while (length > 0 && (read = dataInputStream.read( in saveJpegAttributes()2626 Streams.copy(dataInputStream, dataOutputStream); in saveJpegAttributes()[all …]
2503 DataInputStream dataInputStream = new DataInputStream(inputStream); in saveJpegAttributes() local2506 if (dataInputStream.readByte() != MARKER) { in saveJpegAttributes()2510 if (dataInputStream.readByte() != MARKER_SOI) { in saveJpegAttributes()2523 byte marker = dataInputStream.readByte(); in saveJpegAttributes()2527 marker = dataInputStream.readByte(); in saveJpegAttributes()2530 int length = dataInputStream.readUnsignedShort() - 2; in saveJpegAttributes()2536 if (dataInputStream.read(identifier) != 6) { in saveJpegAttributes()2541 if (dataInputStream.skipBytes(length - 6) != length - 6) { in saveJpegAttributes()2556 while (length > 0 && (read = dataInputStream.read( in saveJpegAttributes()2568 copy(dataInputStream, dataOutputStream); in saveJpegAttributes()[all …]