le_hex.h
Go to the documentation of this file.
1 
43 #ifndef LEGATO_HEX_INCLUDE_GUARD
44 #define LEGATO_HEX_INCLUDE_GUARD
45 
46 
47 //--------------------------------------------------------------------------------------------------
53 //--------------------------------------------------------------------------------------------------
55 (
56  const char *stringPtr,
57  uint32_t stringLength,
58  uint8_t *binaryPtr,
59  uint32_t binarySize
60 );
61 
62 //--------------------------------------------------------------------------------------------------
68 //--------------------------------------------------------------------------------------------------
70 (
71  const uint8_t *binaryPtr,
72  uint32_t binarySize,
73  char *stringPtr,
74  uint32_t stringSize
75 );
76 
77 //--------------------------------------------------------------------------------------------------
84 //--------------------------------------------------------------------------------------------------
85 int le_hex_HexaToInteger(char s[]);
86 
87 #endif // LEGATO_HEX_INCLUDE_GUARD
int le_hex_HexaToInteger(char s[])
int32_t le_hex_BinaryToString(const uint8_t *binaryPtr, uint32_t binarySize, char *stringPtr, uint32_t stringSize)
int32_t le_hex_StringToBinary(const char *stringPtr, uint32_t stringLength, uint8_t *binaryPtr, uint32_t binarySize)