Home | History | Annotate | Download | only in util

Lines Matching refs:byteSize

30      * @param byteSize Recommended parameter declaring the length of the input stream. If you
34 public static int getOrientation(final InputStream inputStream, final long byteSize) {
54 Note: If you do not pass in byteSize parameter, a single large allocation will occur.
57 has(jpeg, byteSize, offset + length - 1)
71 if (has(jpeg, byteSize, 1)) {
81 while (has(jpeg, byteSize, offset + 3) && (jpeg.get(offset++) & 0xFF) == 0xFF) {
103 if (length < 2 || !has(jpeg, byteSize, offset + length - 1)) {
198 private static boolean has(final InputStreamBuffer jpeg, final long byteSize, final int index) {
199 if (byteSize >= 0) {
200 return index < byteSize;