diff options
| author | jakob <jakob@memeware.net> | 2017-05-10 20:42:36 -0400 |
|---|---|---|
| committer | jakob <jakob@memeware.net> | 2017-05-10 20:42:36 -0400 |
| commit | 1885dd37171b1cf95210e7a4850c2179f21a9e08 (patch) | |
| tree | a7be17e425fea7ec3ac7b1bb8044eb94d873dc4d /src/encoding.h | |
| parent | b38a284ffc56e292b79610bbd94ebaf086fb4421 (diff) | |
eliF entry creation for the archive table
Diffstat (limited to 'src/encoding.h')
| -rw-r--r-- | src/encoding.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/encoding.h b/src/encoding.h index d47f78e..b8f211f 100644 --- a/src/encoding.h +++ b/src/encoding.h @@ -21,3 +21,7 @@ /* Decodes the UTF-16LE string specified by `in_buf` into `out_buf`. */ void utf16le_decode(char *in_buf, char *out_buf, size_t len); + +/* Encodes the UTF-8 string specified by `in_buf` into a UTF-16LE string + stored in `out_buf`. */ +void utf16le_encode(char *in_buf, char *out_buf, size_t len); |