Pessoal,
Alguém, por favor, consegue converter essa função C para uso no xHarbour?
private static string ToBase64Hex(string value)
{
int countChars = value.Length;
byte[] bytes = new byte[countChars / 2];
for(int i = 0; i < countChars; i+=2)
{
bytes[i / 2] = Convert.ToByte(value.Substring(i, 2), 16);
}
return Convert.ToBase64String(bytes);
}