طريقة System::Text::Encoding::GetBytes

Encoding::GetBytes(ArrayPtr<char_t>) method

احصل على البايتات الناتجة عن ترميز مخزن الأحرف.

virtual ArrayPtr<uint8_t> System::Text::Encoding::GetBytes(ArrayPtr<char_t> chars)
معاملنوعالوصف
charsArrayPtr<char_t>الأحرف المراد ترميزها.

ReturnValue

Buffer that holds representation of characters being encoded.

انظر أيضًا

Encoding::GetBytes(ArrayPtr<char_t>, int, int, ArrayPtr<uint8_t>, int) method

احصل على البايتات الناتجة عن ترميز مخزن الأحرف.

virtual int System::Text::Encoding::GetBytes(ArrayPtr<char_t> chars, int char_index, int char_count, ArrayPtr<uint8_t> bytes, int byte_index)
معاملنوعالوصف
charsArrayPtr<char_t>الأحرف المراد ترميزها.
char_indexintبداية مقطع الحرف.
char_countintعدد الأحرف المراد تحويلها.
bytesArrayPtr<uint8_t>Buffer لوضع الأحرف فيه.
byte_indexintإزاحة المخزن المؤقت للإخراج.

ReturnValue

عدد البايتات المكتوبة.

انظر أيضًا

Encoding::GetBytes(ArrayPtr<char_t>, int, int) method

احصل على البايتات الناتجة عن ترميز مخزن الأحرف.

virtual ArrayPtr<uint8_t> System::Text::Encoding::GetBytes(ArrayPtr<char_t> chars, int index, int count)
معاملنوعالوصف
charsArrayPtr<char_t>الأحرف المراد ترميزها.
الفهرسintبداية مقطع الحرف.
countintعدد الأحرف المراد تحويلها.

ReturnValue

Buffer that holds representation of characters being encoded.

انظر أيضًا

Encoding::GetBytes(const char_t *, int, uint8_t *, int) method

احصل على البايتات الناتجة عن ترميز مخزن الأحرف.

virtual int System::Text::Encoding::GetBytes(const char_t *chars, int char_count, uint8_t *bytes, int byte_count)
معاملنوعالوصف
charsconst char_t *الأحرف المراد ترميزها.
char_countintعدد الأحرف المراد تحويلها.
bytesuint8_t *Buffer لوضع الأحرف فيه.
byte_countintحجم مخزن الإخراج.

ReturnValue

عدد البايتات المكتوبة.

انظر أيضًا

Encoding::GetBytes(const String&) method

احصل على البايتات الناتجة عن ترميز مخزن الأحرف.

virtual ArrayPtr<uint8_t> System::Text::Encoding::GetBytes(const String &s)
معاملنوعالوصف
sconst String&String للترميز.

ReturnValue

Buffer that holds representation of characters being encoded.

انظر أيضًا

Encoding::GetBytes(const String&, int, int, ArrayPtr<uint8_t>, int) method

احصل على البايتات الناتجة عن ترميز مخزن الأحرف.

virtual int System::Text::Encoding::GetBytes(const String &s, int char_index, int char_count, ArrayPtr<uint8_t> bytes, int byte_index)
معاملنوعالوصف
sconst String&String للترميز.
char_indexintبداية مقطع الحرف.
char_countintعدد الأحرف المراد تحويلها.
bytesArrayPtr<uint8_t>Buffer لوضع الأحرف فيه.
byte_indexintإزاحة المخزن المؤقت للإخراج.

ReturnValue

عدد البايتات المكتوبة.

انظر أيضًا

Encoding::GetBytes(const System::Details::ArrayView<char_t>&, int, int) method

احصل على البايتات الناتجة عن ترميز مخزن الأحرف.

virtual ArrayPtr<uint8_t> System::Text::Encoding::GetBytes(const System::Details::ArrayView<char_t> &chars, int index, int count)
معاملنوعالوصف
charsconst System::Details::ArrayView<char_t>&الأحرف المراد ترميزها.
الفهرسintبداية مقطع الحرف.
countintعدد الأحرف المراد تحويلها.

ReturnValue

Buffer that holds representation of characters being encoded.

انظر أيضًا

Encoding::GetBytes(const System::Details::StackArray<char_t, N>&, int, int) method

احصل على البايتات الناتجة عن ترميز مخزن الأحرف.

template<std::size_t> ArrayPtr<uint8_t> System::Text::Encoding::GetBytes(const System::Details::StackArray<char_t, N> &chars, int index, int count)
معاملنوعالوصف
charsconst System::Details::StackArray<char_t, N>&الأحرف المراد ترميزها.
الفهرسintبداية مقطع الحرف.
countintعدد الأحرف المراد تحويلها.

ReturnValue

Buffer that holds representation of characters being encoded.

انظر أيضًا

Encoding::GetBytes(System::Details::ArrayView<char_t>, int, int, System::Details::ArrayView<uint8_t>, int) method

احصل على البايتات الناتجة عن ترميز مخزن الأحرف.

virtual int System::Text::Encoding::GetBytes(System::Details::ArrayView<char_t> chars, int char_index, int char_count, System::Details::ArrayView<uint8_t> bytes, int byte_index)
معاملنوعالوصف
charsSystem::Details::ArrayView<char_t>الأحرف المراد ترميزها.
char_indexintبداية مقطع الحرف.
char_countintعدد الأحرف المراد تحويلها.
bytesSystem::Details::ArrayView<uint8_t>Buffer لوضع الأحرف فيه.
byte_indexintإزاحة المخزن المؤقت للإخراج.

ReturnValue

عدد البايتات المكتوبة.

انظر أيضًا

Encoding::GetBytes(System::Details::StackArray<char_t, SC>&, int, int, System::Details::StackArray<uint8_t, SB>&, int) method

احصل على البايتات الناتجة عن ترميز مخزن الأحرف.

template<std::size_t,std::size_t> int System::Text::Encoding::GetBytes(System::Details::StackArray<char_t, SC> &chars, int char_index, int char_count, System::Details::StackArray<uint8_t, SB> &bytes, int byte_index)
معاملنوعالوصف
charsSystem::Details::StackArray<char_t, SC>&الأحرف المراد ترميزها.
char_indexintبداية مقطع الحرف.
char_countintعدد الأحرف المراد تحويلها.
bytesSystem::Details::StackArray<uint8_t, SB>&Buffer لوضع الأحرف فيه.
byte_indexintإزاحة المخزن المؤقت للإخراج.

ReturnValue

عدد البايتات المكتوبة.

انظر أيضًا