Internet Direct (Indy)
Home
PreviousUpNext
OrdFourByteToCardinal Function

Converts four byte values to their representation as a Cardinal value.

Pascal
function OrdFourByteToCardinal(
    AByte1: Byte; 
    AByte2: Byte; 
    AByte3: Byte; 
    AByte4: Byte
): Cardinal;
Parameters 
Description 
AByte1 
Byte to convert to a cardinal value.
 
AByte2 
Byte to convert to a cardinal value.
 
AByte3 
Byte to convert to a cardinal value.
 
AByte4 
Byte to convert to a cardinal value. 

Cardinal - Cardinal Value the bytes.

OrdFourByteToCardinal is a Cardinal function used to convert the four byte values in AByte1, AByte2, AByte3, and AByte4 to their representation as a Cardinal value. 

OrdFourByteToCardinal uses TIdBytes and calls BytesToCardinal to convert the byte values to a Cardinal value.

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.