|
hl7parse
|
hl7 base64 decoder and encoder. More...
#include <inttypes.h>
Go to the source code of this file.
Functions | |
| int | base64decode (char *in, size_t inLen, unsigned char *out, size_t *outLen) |
| decode base64 a buffer More... | |
| int | hl7_64decode (char *in, size_t inLen, unsigned char *out, size_t *outLen) |
| decode base64 a buffer More... | |
| int | hl7_64decode_fd (char *in, size_t inLen, FILE *out_fd) |
| decode base64 buffer to a file More... | |
| int | base64encode (const void *data_buf, size_t dataLength, char *result, size_t resultSize) |
| encode base64 More... | |
hl7 base64 decoder and encoder.
These methods are able to decode hl7 sequence .br\ on a base64 stream
| int base64decode | ( | char * | in, |
| size_t | inLen, | ||
| unsigned char * | out, | ||
| size_t * | outLen | ||
| ) |
decode base64 a buffer
| in | char array to decode |
| inLen | length of input |
| out | array holding output |
| outLen | length of output |
| int base64encode | ( | const void * | data_buf, |
| size_t | dataLength, | ||
| char * | result, | ||
| size_t | resultSize | ||
| ) |
encode base64
| data_buf | char array to encode |
| dataLength | length of input |
| result | array holding output |
| resultSize | length of output |
| int hl7_64decode | ( | char * | in, |
| size_t | inLen, | ||
| unsigned char * | out, | ||
| size_t * | outLen | ||
| ) |
decode base64 a buffer
skip \.br\ sequences typically found in hl7 base64 encoded multiline strings.
| in | char array to decode |
| inLen | length of input |
| out | array holding output |
| outLen | length of output |
| int hl7_64decode_fd | ( | char * | in, |
| size_t | inLen, | ||
| FILE * | out_fd | ||
| ) |
decode base64 buffer to a file
skip \.br\ sequences typically found in hl7 base64 encoded multiline strings.
| in | char array to decode |
| inLen | length of input |
| out_fd | file handle to write result to |
1.8.13