Skip Navigation Links.

H5T..::..getSize Method (H5DataTypeId)

getSize returns the size of a datatype in bytes. http://www.hdfgroup.org/HDF5/doc/RM/RM_H5T.html#Datatype-GetSize

Namespace:  HDF5DotNet
Assembly:  HDF5DotNet (in HDF5DotNet.dll)

Syntax

Visual Basic
Public Shared Function getSize ( _
	typeId As H5DataTypeId _
) As Integer
C#
public static int getSize(
	H5DataTypeId typeId
)
Visual C++
public:
static int getSize(
	H5DataTypeId^ typeId
)
JavaScript
HDF5DotNet.H5T.getSize = function(typeId);

Parameters

typeId
Type: HDF5DotNet..::..H5DataTypeId
IN: Identifier of datatype to query.

Return Value

Returns the size of the datatype in bytes if successful.

Exceptions

ExceptionCondition
HDF5DotNet..::..H5TgetSizeException throws H5TgetSizeException on failure.

See Also