méthode System::String::ToByteArray
String::ToByteArray method
Convertit la chaîne ou la sous-chaîne en tableau d’octets.
ArrayPtr<uint8_t> System::String::ToByteArray(int32_t startIndex=0, int32_t length=INT32_MAX, bool LE=true) const
| Paramètre | Type | Description |
|---|---|---|
| startIndex | int32_t | Indice de début de la sous‑chaîne. |
| longueur | int32_t | Longueur de la sous‑chaîne. |
| LE | bool | Si vrai, encode les caractères en utilisant le petit‑endiannement ; sinon, utilisez le gros‑endiannement. |
ReturnValue
Array containing bytes representing characters of the string.
Voir aussi
- Typedef ArrayPtr
- Class String
- Namespace System
- Library Aspose.Font for C++