5 Struct N_TIFF
gullradriel edited this page 2026-10-09 00:55:18 +02:00

N_TIFF

Module: TIFF: reading the tags of a TIFF structured buffer

The first directory of a TIFF structured buffer.

#include "n_tiff.h"

Public Attributes

Name
uint16_t magic
the 16 bit value after the byte order mark
size_t len
its length
N_TIFF_ENTRY * entries
the entries whose values lie inside the buffer, in file order
const unsigned char * data
the buffer, borrowed
size_t count
how many
int big_endian
1 for "MM" (Motorola, big endian), 0 for "II"

Public Attributes Documentation

variable magic

uint16_t magic;

the 16 bit value after the byte order mark

variable len

size_t len;

its length

variable entries

N_TIFF_ENTRY * entries;

the entries whose values lie inside the buffer, in file order

variable data

const unsigned char * data;

the buffer, borrowed

variable count

size_t count;

how many

variable big_endian

int big_endian;

1 for "MM" (Motorola, big endian), 0 for "II"