Internet Direct (Indy)
Home
PreviousUpNext
SameArray Function

Indicates if the bye values in B1 and B2 are identical.

Pascal
function SameArray(
    const B1: TIdBytes; 
    const B2: TIdBytes
): boolean;
Parameters 
Description 
B1 
Byte values for the comparision.
 
B2 
Byte values for the comparision. 

Boolean - True when the byte arrays are identical.

SameArray is a Boolean function that indicates if the bye values in B1 and B2 are identical. SameArray returns True when the values in the TIdBytes instances in B1 and B2 have the same length and exactly the same content in each of their respective byte positions. 

SameArray compares the actual byte values, so bytes containing character values are compared using case sensitivity.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.