Internet Direct (Indy)
Home
PreviousUpNext
BinToHexStr Function

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

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

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.