Metode System::String::ToByteArray
String::ToByteArray method
Mengonversi string atau substring menjadi array byte.
ArrayPtr<uint8_t> System::String::ToByteArray(int32_t startIndex=0, int32_t length=INT32_MAX, bool LE=true) const
| Parameter | Tipe | Deskripsi |
|---|---|---|
| startIndex | int32_t | Indeks mulai substring. |
| length | int32_t | Panjang substring. |
| LE | bool | Jika true, enkode karakter menggunakan endian kecil; jika tidak, gunakan endian besar. |
ReturnValue
Array containing bytes representing characters of the string.
Lihat Juga
- Typedef ArrayPtr
- Class String
- Namespace System
- Library Aspose.Page for C++