| parrotcode: UTF-16 encoding | |
| Contents | C |

src/encodings/utf16.c - UTF-16 encoding

UTF-16 encoding with the help of the ICU library.

static STRING *to_encodingsrc to this particular encoding.
If dest is provided,
it will contain the result.
Otherwise this function operates in place.static UINTVAL get_codepointsrc at position offset.static void set_codepointsrc at position offset,
the codepoint codepoint.static UINTVAL get_bytesrc at position offset.static void set_bytesrc at position offset,
the byte byte.static STRING *get_codepointssrc at position offset and length count.static STRING *get_codepoints_inplacesrc at position offset count codepoints and returns them in return_string.static STRING *get_bytessrc at position offset and length count.static STRING *get_bytes_inplacesrc at position offset count bytes and returns them in return_string.static void set_codepointssrc at position offset for count codepoints with the contents of string new_codepoints.static void set_bytessrc at position offset for count bytes with the contents of string new_bytes.static void become_encodingstatic UINTVAL codepointssrc.static UINTVAL bytessrc.static UINTVAL utf16_decode_and_advancei to the next UTF-16 codepoint.static void utf16_encode_and_advancei,
appends the codepoint c and advances to the next position in the string.static void utf16_set_positioni to the position n in the string.static void iter_initsrc the string iterator iter.ENCODING *Parrot_encoding_utf16_init
src/encodings/fixed_8.c, src/encodings/utf8.c, src/string.c, include/parrot/string.h, docs/string.pod.
|
|
|