The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



FindInStream


Unit:SDL_streams
Class:none
Declaration:function FindInStream (Instream: TStream; AByte: byte): boolean;

The function FindInStream searches the byte AByte in the stream Instream starting at the current stream position. It returns a TRUE value if AByte has been found. In this case the Position property of the stream points to the first byte after the position where AByte has been found. If AByte cannot be found, the function returns a FALSE value and the Position property is set to the end of the stream.



Last Update: 2023-Feb-06