@Override
    public Object getValue(final TiffField entry) {
        final byte[] bytes = entry.getByteArrayValue();
        if (entry.getCount() == 1) {
            return ByteConversions.toInt(bytes, entry.getByteOrder());
        }
        return ByteConversions.toLongs(bytes, entry.getByteOrder());
    }
Gets the value(s) for this field in the form of an array of long integers.

@param entry the TIFF field as obtained from the source file.
@return a valid, potentially empty array of Java long integers.
src/main/java/org/apache/commons/imaging/formats/tiff/fieldtypes/FieldTypeLong8.java