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

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

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

virtual void System::Text::Decoder::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)
معاملنوعالوصف
بايتاتArrayPtr<uint8_t>البايتات للفك.
byteIndexintإزاحة مخزن الإدخال.
byteCountintحجم المخزن المؤقت للإدخال.
charsArrayPtr<char_t>مخزن الأحرف الوجهة.
charIndexintإزاحة مصفوفة الوجهة.
charCountintحجم مصفوفة الوجهة.
flushboolإذا كان صحيحًا، ينظف حالة المفكّك الداخلية بعد الحساب.
bytesUsedint&مرجع إلى المتغيّر لتخزين عدد البايتات المقروءة.
charsUsedint&مرجع إلى المتغيّر لتخزين عدد الأحرف المكتوبة.
completedbool&مرجع إلى المتغيّر لتعيينه إلى true إذا استُهلك مخزن الإدخال وإلى false غير ذلك.

انظر أيضًا

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

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

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

انظر أيضًا