Scroll to navigation

MAT_SIZEOF(3) Library Functions Manual MAT_SIZEOF(3)

NAME

Mat_SizeOfReturns the size in bytes of a matio data type.

SYNOPSIS

#include <matio.h>

size_t
Mat_SizeOf(enum matio_types data_type);

DESCRIPTION

The () function returns the size in bytes associated with the matio data type enumerator data_type. For example, it can be used to size buffers for values described by MAT_T_DOUBLE or MAT_T_UINT16.

RETURN VALUES

On success, the size in bytes for data_type is returned. If the type is not recognized, 0 is returned.

SEE ALSO

Mat_SizeOfClass(3)

April 23, 2026 Nixpkgs