Function switchml::DataTypeSize

Function Documentation

static inline uint16_t switchml::DataTypeSize(enum DataType type)

Returns the size of an element of the given DataType.

Parameters

type[in] the data type to ask about.

Returns

uint16_t The size of a an element of this data type.