E57 Foundation API v1.1.312  Aug. 10, 2011
size_t stride ( ) const

Get number of bytes between consecutive memory elements in buffer.

Elements in a memory buffer do not have to be consecutive. They can also be spaced at regular intervals. This allows a value to be picked out of an array of C++ structures (the stride would be the size of the structure). In the case that the element values are stored consecutively in memory, the stride equals the size of the memory representation of the element.

Postcondition:
No visible state is modified.
Returns:
Number of bytes between consecutive memory elements in buffer
See also:
SourceDestBufferNumericCreate.cpp example
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines