summaryrefslogtreecommitdiff
path: root/src/encoding.h
diff options
context:
space:
mode:
authorjakob <jakob@memeware.net>2017-05-10 20:42:36 -0400
committerjakob <jakob@memeware.net>2017-05-10 20:42:36 -0400
commit1885dd37171b1cf95210e7a4850c2179f21a9e08 (patch)
treea7be17e425fea7ec3ac7b1bb8044eb94d873dc4d /src/encoding.h
parentb38a284ffc56e292b79610bbd94ebaf086fb4421 (diff)
eliF entry creation for the archive table
Diffstat (limited to 'src/encoding.h')
-rw-r--r--src/encoding.h4
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);