μέθοδος 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
ParameterTypeΠεριγραφή
startIndexint32_tΔείκτης έναρξης υποσυμβολοσειράς.
lengthint32_tΜήκος υποσυμβολοσειράς.
LEboolΑν είναι true, κωδικοποιεί χαρακτήρες χρησιμοποιώντας little endianness· διαφορετικά, χρησιμοποιεί big endianness.

ReturnValue

Array containing bytes representing characters of the string.

Δείτε επίσης