طريقة System::Text::ICUDecoder::Convert

ICUDecoder::Convert(ArrayPtr<uint8_t>, int, int, ArrayPtr<char_t>, int, int, bool, int&, int&, bool&) method

يحول البايتات إلى أحرف.

virtual void System::Text::ICUDecoder::Convert(ArrayPtr<uint8_t> bytes, int byteIndex, int byteCount, ArrayPtr<char_t> chars, int charIndex, int charCount, bool flush, int &bytesUsed, int &charsUsed, bool &completed)
ParameterTypeالوصف
بايتاتArrayPtr<uint8_t>البايتات لفك الترميز.
byteIndexintإزاحة مخزن الإدخال.
byteCountintحجم المخزن المؤقت للإدخال.
charsArrayPtr<char_t>مخزن الأحرف الهدف.
charIndexintإزاحة مصفوفة الوجهة.
charCountintحجم مصفوفة الوجهة.
تفريغboolإذا كان صحيحًا، ينظف حالة المفك الشفري الداخلية بعد الحساب.
bytesUsedint&إشارة إلى المتغير لتخزين عدد البايتات المقروءة.
charsUsedint&إشارة إلى المتغير لتخزين عدد الأحرف المكتوبة.
مكتملbool&إشارة إلى المتغيّر لتعيينه إلى true إذا استُنفد مخزن الإدخال وإلى false خلاف ذلك.

انظر أيضًا

ICUDecoder::Convert(const uint8_t *, int, char_t *, int, bool, int&, int&, bool&) method

يحول البايتات إلى أحرف.

virtual void System::Text::ICUDecoder::Convert(const uint8_t *bytes, int byteCount, char_t *chars, int charCount, bool flush, int &bytesUsed, int &charsUsed, bool &completed)
ParameterTypeالوصف
بايتاتconst uint8_t *البايتات لفك الترميز.
byteCountintحجم المخزن المؤقت للإدخال.
charschar_t *مخزن الأحرف الهدف.
charCountintحجم مصفوفة الوجهة.
تفريغboolإذا كان صحيحًا، ينظف حالة المفك الشفري الداخلية بعد الحساب.
bytesUsedint&إشارة إلى المتغير لتخزين عدد البايتات المقروءة.
charsUsedint&إشارة إلى المتغير لتخزين عدد الأحرف المكتوبة.
مكتملbool&إشارة إلى المتغيّر لتعيينه إلى true إذا استُنفد مخزن الإدخال وإلى false خلاف ذلك.

انظر أيضًا