Topic Path: Symbol Reference > Functions > OrdFourByteToCardinal Function
ContentsIndexHome
PreviousUpNext
OrdFourByteToCardinal Function

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

File
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.

Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.