BACnetGetStructureSizeFromDataType (FUN)ΒΆ

FUNCTION BACnetGetStructureSizeFromDataType : IEC_BACNET_UNSIGNED

Function returs the structure size for the given data type.

The corresponding size of the c-structure for the given data type or (size_t)-1 is returned in case the given type is invalid. The returned size may be used to advance pointers to the next array or list element in an property contents buffer.

InOut:

Scope

Name

Type

Comment

Return

BACnetGetStructureSizeFromDataType

IEC_BACNET_UNSIGNED

Input

dataType

IEC_BACNET_DATA_TYPE

The BACnet datatype enumeration value.