System::Text::ICUEncoding::GetByteCount method

ICUEncoding::GetByteCount(const char_t *, int) method

Get the number of characters needed to encode a character buffer.

int System::Text::ICUEncoding::GetByteCount(const char_t *chars, int count) override
ParameterTypeDescription
charsconst char_t *Characters buffer.
countintBuffer size.

ReturnValue

Required buffer size.

See Also

ICUEncoding::GetByteCount(ArrayPtr<char_t>, int, int) method

RTTI.

virtual int System::Text::Encoding::GetByteCount(ArrayPtr<char_t> chars, int index, int count)

See Also

ICUEncoding::GetByteCount(System::Details::ArrayView<char_t>, int, int) method

RTTI.

virtual int System::Text::Encoding::GetByteCount(System::Details::ArrayView<char_t> chars, int index, int count)

See Also

ICUEncoding::GetByteCount(const System::Details::StackArray<char_t, N>&, int, int) method

RTTI.

template<std::size_t> int System::Text::Encoding::GetByteCount(const System::Details::StackArray<char_t, N> &chars, int index, int count)

See Also

ICUEncoding::GetByteCount(const String&) method

RTTI.

virtual int System::Text::Encoding::GetByteCount(const String &s)

See Also

ICUEncoding::GetByteCount(ArrayPtr<char_t>) method

RTTI.

virtual int System::Text::Encoding::GetByteCount(ArrayPtr<char_t> chars)

See Also