#include <ucnv_cnv.h>
Its function pointers work much like a C++ vtable. Many converter types need to define only a subset of the functions; when a function pointer is NULL, then a default action will be performed.
Every converter type must implement toUnicode, fromUnicode, and getNextUChar, otherwise the converter may crash. Every converter type that has variable-length codepage sequences should also implement toUnicodeWithOffsets and fromUnicodeWithOffsets for correct offset handling. All other functions may or may not be implemented - it depends only on whether the converter type needs them.
When open fails, then close will be called, if present.
Definition at line 192 of file ucnv_cnv.h.
|
Definition at line 199 of file ucnv_cnv.h. |
|
Definition at line 204 of file ucnv_cnv.h. |
|
Definition at line 205 of file ucnv_cnv.h. |
|
Definition at line 209 of file ucnv_cnv.h. |
|
Definition at line 206 of file ucnv_cnv.h. |
|
Definition at line 208 of file ucnv_cnv.h. |
|
Definition at line 195 of file ucnv_cnv.h. |
|
Definition at line 198 of file ucnv_cnv.h. |
|
Definition at line 200 of file ucnv_cnv.h. |
|
Definition at line 202 of file ucnv_cnv.h. |
|
Definition at line 203 of file ucnv_cnv.h. |
|
Definition at line 193 of file ucnv_cnv.h. |
|
Definition at line 196 of file ucnv_cnv.h. |