Sid672 commented on issue #7108:
URL: https://github.com/apache/trafficserver/issues/7108#issuecomment-920768613


   @maskit please correct me if I am wrong.
   Functions:
   ```
   1) bool ats_base64_encode(const char *inBuffer, size_t inBufferSize, char 
*outBuffer, size_t outBufSize, size_t *length);
   
   2) bool ats_base64_encode(const unsigned char *inBuffer, size_t 
inBufferSize, char *outBuffer, size_t outBufSize, size_t *length);
   
   3) bool ats_base64_decode(const char *inBuffer, size_t inBufferSize, 
unsigned char *outBuffer, size_t outBufSize, size_t *length);
   ```
   - The first function call the 2nd function. 
   - 2nd function converts the character into binary up to the length of 
Buffersize and returns true if it is completed.
   - 3rd function decode the buffer and returns true after completion.
   
   So can I add these comments:
   ```
   * These routines convert char's of string and return true. 
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to