CryptoPressStream:
Delphi / C++Builder Streaming Compression Library
with Strong Encryption


TCPSManager.IndexOf
TCPSManager
Top 

Returns the index of the first entry in the Items array with a specified value.

Delphi syntax:
function IndexOf(Stream: TStream): Integer;

C++ syntax:
int __fastcall
IndexOf(Classes::TStream* Stream);

Description
Call IndexOf to get the index for a pointer in the Items array. Specify the pointer as the Item parameter.

The first item in the array has index 0, the second item has index 1, and so on. If an item is not in the list, IndexOf returns -1. If a pointer appears more than once in the array, IndexOf returns the index of the first appearance.



© AidAim Software CryptoPressStream: Streaming Compression Library Delphi Compression Strong Encryption Library Compression Strea