TDAT(5SP)

NAME
tdat - tdat file format

SYNOPSIS
#include <speech.h>

DESCRIPTION
The Tdat file format is used to store two dimesional data structures to disk. A Tdat file consists of an ascii header followed by binary data.

The header is a AsciiHeader(5SP) which must contain the following fields:

    Rows
    Columns
    Type

The Rows field is an integer value for the number of rows in the 2D data and Columns is an integer value for the number of columns. The Type field is a string stating the type of the binary data. The currently supported types are short (16 bit integers), integer (32 bit integers), and float (32 but reals).

The binary data starts right after the header, there is no padding done. The binary data is writen in network byte order in column major (RIGHT???). I.E. the first datum written is (0,0), the second datum is (0,1), third is (0,2), etc...

EXAMPLES

SEE ALSO
AsciiHeader(5SP)

BUGS