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

Converts a single byte to its 2-byte hexadecimal representation.

File
function BinToHexStr(
    AData: Byte
): String;
Parameters 
Description 
AData 
Value to convert to hexadecimal. 

String - Hexadecimal representation for the byte value.

BinToHexStr is a String function that converts the value in AData to its representation in hexadecimal form. 

AData contains a single character value to be converted. BinToHexStr uses IdHexDigits to prepare the 2-byte hexadecimal representation used in the return value.

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