Purpose
 
               		 
               		
               Returns a 
                  		  size_t value indicating the number of bytes written into the target buffer. 
                  		
               
 
               	 
              
            	 
            
               Syntax
 
               		 
               		HEXDECODE(p,m,q,n)
 
               	   
            	 
            
               Parameters
 
               		 
               		
                
                  		   
                  			 
                  - p 
                     			 
                  
- The address of the target buffer. When the target buffer address is zero, the number of bytes that would be written is returned.
                     
                     			 
                  
- m 
                     			 
                  
- The length of the target buffer in bytes. 
                     				
                     Must have a computational type. Converted to type 
                        				  size_t. When the target buffer is not large enough, a value of 
                        				  -1 is returned. When the target buffer is large enough, the number of bytes that is written to the buffer is returned. 
                        				
                      
- q 
                     			 
                  
- The address of the source buffer 
                     			 
                  
- n 
                     			 
                  
- The length of the source buffer in bytes. 
                     			 
                  
- Must have computational type. Converted to type 
                     				size_t. When the source contains characters other than hexadecimal digits, the CONVERSION condition is raised. 
                     			 
                  
  
            	 
             
            
           
         
         
Description
Decodes a source buffer from base 16 according to the character data encoding, either ASCII or EBCDIC.