Searched refs:mByteBuffer (Results 1 – 9 of 9) sorted by relevance
32 private final ByteBuffer mByteBuffer; field in ExifModifier50 mByteBuffer = byteBuffer; in ExifModifier()60 mByteBuffer.position(0); in ExifModifier()73 is = new ByteBufferInputStream(mByteBuffer); in commit()142 mByteBuffer.order(getByteOrder()); in modify()153 mByteBuffer.position(offset + mOffsetBase); in writeTagValue()159 mByteBuffer.put(buf); in writeTagValue()161 mByteBuffer.put(buf); in writeTagValue()162 mByteBuffer.put((byte) 0); in writeTagValue()168 mByteBuffer.putInt((int) tag.getValueAt(i)); in writeTagValue()[all …]
26 private final ByteBuffer mByteBuffer = ByteBuffer.allocate(4); field in OrderedDataOutputStream33 mByteBuffer.order(order); in setByteOrder()38 mByteBuffer.rewind(); in writeShort()39 mByteBuffer.putShort(value); in writeShort()40 out.write(mByteBuffer.array(), 0, 2); in writeShort()45 mByteBuffer.rewind(); in writeInt()46 mByteBuffer.putInt(value); in writeInt()47 out.write(mByteBuffer.array()); in writeInt()
33 private final ByteBuffer mByteBuffer = ByteBuffer.wrap(mByteArray); field in CountedDataInputStream92 mByteBuffer.order(order); in setByteOrder()96 return mByteBuffer.order(); in getByteOrder()101 mByteBuffer.rewind(); in readShort()102 return mByteBuffer.getShort(); in readShort()111 mByteBuffer.rewind(); in readInt()112 return mByteBuffer.getInt(); in readInt()121 mByteBuffer.rewind(); in readLong()122 return mByteBuffer.getLong(); in readLong()
33 private final ByteBuffer mByteBuffer = ByteBuffer.wrap(mByteArray); field in CountedDataInputStream96 mByteBuffer.order(order); in setByteOrder()100 return mByteBuffer.order(); in getByteOrder()105 mByteBuffer.rewind(); in readShort()106 return mByteBuffer.getShort(); in readShort()115 mByteBuffer.rewind(); in readInt()116 return mByteBuffer.getInt(); in readInt()125 mByteBuffer.rewind(); in readLong()126 return mByteBuffer.getLong(); in readLong()
31 private final ByteBuffer mByteBuffer; field in ExifModifier49 mByteBuffer = byteBuffer; in ExifModifier()59 mByteBuffer.position(0); in ExifModifier()72 is = new ByteBufferInputStream(mByteBuffer); in commit()141 mByteBuffer.order(getByteOrder()); in modify()152 mByteBuffer.position(offset + mOffsetBase); in writeTagValue()158 mByteBuffer.put(buf); in writeTagValue()160 mByteBuffer.put(buf); in writeTagValue()161 mByteBuffer.put((byte) 0); in writeTagValue()167 mByteBuffer.putInt((int) tag.getValueAt(i)); in writeTagValue()[all …]