Go to file
Tomasz Sowa 78d31861de
add some wide/utf8 convertion methods
add following methods:
size_t int_to_wide(int c, wchar_t * res, size_t max_buf_len);

template<typename StreamIteratorType>
bool utf8_to_wide(StreamIteratorType & iterator_in, const StreamIteratorType & iterator_end, wchar_t * out_buffer, size_t max_buffer_len, int mode = 1, bool * was_buffer_sufficient_large = nullptr);

template<typename StreamType>
bool utf8_to_wide(const StreamType & stream, wchar_t * out_buffer, size_t max_buffer_len, bool * was_buffer_sufficient_large = nullptr, int mode = 1);

template<typename StreamType>
bool wide_stream_to_utf8(StreamType & buffer, char * utf8, std::size_t max_buffer_size, bool * was_buffer_sufficient_large = nullptr, int mode = 1);
2023-07-14 07:41:14 +02:00
src add some wide/utf8 convertion methods 2023-07-14 07:41:14 +02:00
tests rename functions for converting strings to integers to snake case 2022-11-14 03:20:17 +01:00
.editorconfig added .editorconfig file with tab style and tab size information 2021-05-15 18:34:10 +02:00
.gitignore removed *.a from .gitignore 2021-05-18 23:58:46 +02:00
LICENSE add LICENSE file 2022-07-03 11:02:16 +02:00
Makefile rename functions for converting strings to integers to snake case 2022-11-14 03:20:17 +01:00