Home -> IndexAttribute -> GetDataTypeByteSize

Description

The GetDataTypeByteSize method returns the size of a single index in bytes.

Usage

constexpr static size_t GetDataTypeByteSize(DataType dataType);

Argument list

dataType [DataType]
The attribute data type to query.

Return value

[constexpr static size_t]
The byte size of one scalar value of the specified data type.

See also