From 494d04e99b004567ea8949d4a094248ac714ece1 Mon Sep 17 00:00:00 2001 From: schodet Date: Sat, 17 Apr 2004 08:22:22 +0000 Subject: Déplacement des fonctions de décodage hexa. --- 2004/i/nono/src/utils/hexa.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '2004/i/nono/src/utils/hexa.h') diff --git a/2004/i/nono/src/utils/hexa.h b/2004/i/nono/src/utils/hexa.h index 2bcf81d..cdae943 100644 --- a/2004/i/nono/src/utils/hexa.h +++ b/2004/i/nono/src/utils/hexa.h @@ -31,4 +31,10 @@ int hex2digit (char c); /// Converti un chiffre (0-15) en hexa (0-9a-f). char digit2hex (int d); +/// Décode un mot signé (1 octets). +int hexSignedChar2int (const char *s) const; + +/// Décode un mot signé (2 octets). +int hexSignedShort2int (const char *s) const; + #endif // hexa_h -- cgit v1.2.3