HexToBinary
No description available for this symbol.
Syntax
stock HexToBinary( const szHex[ ], szBinaryResult[ ], const iBinaryLen ) // Retrives digits from a given value and returns the number of digits // // @param iValue - The value from which to get the digits // @param iDigits[ ] - The array to store the digits in (optional) // @param iDigitSize - The size of the array (optional) // @param iBase - The base of the number to find digits by (default is 10 for base 10 (decimal)) (optional) // @param bKeepDigitOrder - Decides to start from the right side of the decimal or left (default is false) (optional) (see post for more details) // // @return The total number of digits found // stock GetDigits( const iValue, iDigits[ ] = "", const iDigitSize = 0, const iBase = 10, bool:bKeepDigitOrder = false ) stock ReverseArray( iArray[ ], const iSize ) */ #include < amxmodx > #if cellbits == 32 #define MAX_DECIMAL_DIGITS 10 #define MAX_BINARY_DIGITS 31 #define MAX_HEXADECIMAL_DIGITS 8 #else #define MAX_DECIMAL_DIGITS 19 #define MAX_BINARY_DIGITS 63 #define MAX_HEXADECIMAL_DIGITS 16 #endif
Usage
| iBinaryLen | — |
Defined in
number_convert.inc
at line 16
.
This documentation was automatically generated from source.