Inheritance diagram for AnonymousString:
Public Member Functions | |
this () | |
AnonymousString | set (char[] content) |
AnonymousString | set (wchar[] content) |
AnonymousString | set (dchar[] content) |
char[] | utf8 (char[] dst=null) |
wchar[] | utf16 (wchar[] dst=null) |
dchar[] | utf32 (dchar[] dst=null) |
void[] | convert (void[] dst, uint dstType, uint *ate) |
void | set (char[] content) |
void | set (wchar[] content) |
void | set (dchar[] content) |
Private Member Functions | |
AnonymousString | set (void[] content, uint type) |
void[] | update (void[] ret) |
Private Attributes | |
uint | type |
bool | local |
void[] | buffer |
void[] | content |
Definition at line 71 of file AnonymousString.d.
|
Construct an AnonymousString ~ set up conversion buffer Definition at line 84 of file AnonymousString.d. References buffer. |
|
Set utf8 content Definition at line 95 of file AnonymousString.d. Referenced by set(). |
|
Set utf16 content Definition at line 106 of file AnonymousString.d. References set(). |
|
Set utf32 content Definition at line 117 of file AnonymousString.d. References set(). |
|
Set content Definition at line 128 of file AnonymousString.d. |
|
Convert to the UniString types. The optional argument dst will be resized as required to house the conversion. To minimize heap allocation, use the following pattern: String string; wchar[] buffer; wchar[] result = string.toUtf16 (buffer); if (result.length > buffer.length) buffer = result; You can also provide a buffer from the stack, but the output will be moved to the heap if said buffer is not large enough Reimplemented from UniString. Definition at line 154 of file AnonymousString.d. References convert(). |
|
Reimplemented from UniString. Definition at line 159 of file AnonymousString.d. References convert(). |
|
Reimplemented from UniString. Definition at line 164 of file AnonymousString.d. References convert(). |
|
Convert to the UniString types. Output buffer argument dst will be resized as required to house the conversion. To minimize heap allocation, use the following pattern: String string; wchar[] buffer; wchar[] result = string.toUtf16 (buffer); if (result.length > buffer.length) buffer = result; You can also provide a buffer from the stack, but the output will be moved to the heap if said buffer is not large enough Definition at line 188 of file AnonymousString.d. References assert(), buffer, content, local, type, and update(). |
|
Definition at line 255 of file AnonymousString.d. Referenced by convert(). |
|
|
|
|
|
|
|
Definition at line 73 of file AnonymousString.d. |
|
Definition at line 74 of file AnonymousString.d. |
|
Definition at line 75 of file AnonymousString.d. |
|
Definition at line 76 of file AnonymousString.d. |