@Override
    public String getElementDescription() {
        long entryOffset = offset + TiffConstants.DIRECTORY_HEADER_LENGTH;

        final StringBuilder result = new StringBuilder();
        for (final TiffField entry : entries) {
            result.append(String.format("\t[%d]: %s (%d, 0x%x), %s, %d: %s%n", entryOffset, entry.getTagInfo().name, entry.getTag(), entry.getTag(),
                    entry.getFieldType().getName(), entry.getBytesLength(), entry.getValueDescription()));

            entryOffset += TiffConstants.ENTRY_LENGTH;
        }
        return result.toString();
    }
Gets the byte order used by the source file for storing this directory and its content.

@return A valid byte order instance.
src/main/java/org/apache/commons/imaging/formats/tiff/TiffDirectory.java