GetByteCount()

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

Arguments

ParameterTypeDescription
charsconst char_t *Characters buffer.
countintBuffer size.

Return Value

Required buffer size.

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

RTTI.

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

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)

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)

ICUEncoding::GetByteCount(const String&) method

RTTI.

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

ICUEncoding::GetByteCount(ArrayPtr<char_t>) method

RTTI.

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

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

RTTI.

virtual int System::Text::Encoding::GetByteCount(const char_t *chars, int count)

See Also