Basic Types

Name

Basic Types -- standard TiFFEP types, defined for ease-of-use and portability.

Synopsis

#include <tiffep.h> (types.h)


typedef     byte;
typedef     word;
typedef     longword;

Description

TiFFEP defines 3 types: byte, word and longword.

Details

byte

typedef unsigned char   byte;

An unsigned integer guaranteed to be 8 bits on all platforms. Values of this type can range from 0 to 255.


word

typedef unsigned short  word;

An unsigned integer guaranteed to be 16 bits on all platforms. Values of this type can range from 0 to 65535.


longword

typedef unsigned int   longword; (Linux)
typedef unsigned long  longword; (Win32)

An unsigned integer guaranteed to be 32 bits on all platforms. Values of this type can range from 0 to 2^32 - 1.