From 1885dd37171b1cf95210e7a4850c2179f21a9e08 Mon Sep 17 00:00:00 2001 From: jakob Date: Wed, 10 May 2017 20:42:36 -0400 Subject: eliF entry creation for the archive table --- src/encoding.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/encoding.h') 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); -- cgit v1.3