BindIterators Data Member Function

Binds iterators to this object.

Prototype

int32 BindIterators( Uint8Iterator first, Uint8Iterator last )

Parameters

Parameter Type Parameter Name Documentation
<Uint8Iterator>firstAn iterator to be bound at the start of this object's underlying collection.
<Uint8Iterator>lastA pointer to the iterator that represents the end of the range.

Examples

Copy Text To Clipboard

import library "app_service_console_util.ssl";

auto Color a_oValue = new Color( 255, 128, 64, 255 );

auto Uint8Iterator first;
auto Uint8Iterator last;
a_oValue.BindIterators( first, last );

while( first.Position != last.Position )
{
   Console.Out( first.Value ); // This will be an unsigned byte/uint8.
   ++first.Position;
}

Results

255
128
64
255