μέθοδος System::String::ToByteArray
String::ToByteArray method
Μετατρέπει τη συμβολοσειρά ή την υποσυμβολοσειρά σε πίνακα byte.
ArrayPtr<uint8_t> System::String::ToByteArray(int32_t startIndex=0, int32_t length=INT32_MAX, bool LE=true) const
| Parameter | Type | Περιγραφή |
|---|---|---|
| startIndex | int32_t | Δείκτης έναρξης υποσυμβολοσειράς. |
| length | int32_t | Μήκος υποσυμβολοσειράς. |
| LE | bool | Αν είναι true, κωδικοποιεί χαρακτήρες χρησιμοποιώντας little endianness· διαφορετικά, χρησιμοποιεί big endianness. |
ReturnValue
Array containing bytes representing characters of the string.
Δείτε επίσης
- Typedef ArrayPtr
- Class String
- Namespace System
- Library Aspose.Page for C++