Memcmp Data Member Function

Compares two ranges using the C++ standard library memcmp function. Returns 0 if the objects match exactly. Otherwise returns non-zero.

Prototype

int32 Memcmp( Uint64Iterator lhs, Uint64Iterator rhs, int32 p_nCount )

Parameters

Parameter Type Parameter Name Documentation
<Uint64Iterator>lhsAn iterator at the start of the left-hand range.
<Uint64Iterator>rhsAn iterator at the start of the right-hand range.
int32p_nCountThe number of bytes to compare. This value will be clamped between 0 and the size of the LHS or RHS ranges, which is smaller.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.