System::Text::UTF7Encoding::GetByteCount method

UTF7Encoding::GetByteCount(ArrayPtr<char_t>) method

Hämta antalet tecken som behövs för att koda en teckenbuffert.

virtual int System::Text::Encoding::GetByteCount(ArrayPtr<char_t> chars)
ParameterTypBeskrivning
teckenArrayPtr<char_t>Teckenbuffert.

ReturnValue

Krävd buffertstorlek.

Se även

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

Hämta antalet tecken som behövs för att koda en teckenbuffert.

virtual int System::Text::Encoding::GetByteCount(ArrayPtr<char_t> chars, int index, int count)
ParameterTypBeskrivning
teckenArrayPtr<char_t>Teckenbuffert.
indexintSkiva början.
countintSkivans storlek.

ReturnValue

Krävd buffertstorlek.

Se även

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

Hämta antalet tecken som behövs för att koda en teckenbuffert.

int System::Text::UTF7Encoding::GetByteCount(const char_t *chars, int count) override
ParameterTypBeskrivning
teckenconst char_t *Teckenbuffert.
countintBuffer storlek.

ReturnValue

Krävd buffertstorlek.

Se även

UTF7Encoding::GetByteCount(const String&) method

Hämta antalet tecken som behövs för att koda en sträng.

virtual int System::Text::Encoding::GetByteCount(const String &s)
ParameterTypBeskrivning
sconst String&String att koda.

ReturnValue

Krävd buffertstorlek.

Se även

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

Hämta antalet tecken som behövs för att koda en teckenbuffert.

template<std::size_t> int System::Text::Encoding::GetByteCount(const System::Details::StackArray<char_t, N> &chars, int index, int count)
ParameterTypBeskrivning
teckenconst System::Details::StackArray<char_t, N>&Teckenbuffert.
indexintSkiva början.
countintSkivans storlek.

ReturnValue

Krävd buffertstorlek.

Se även

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

Hämta antalet tecken som behövs för att koda en teckenbuffert.

virtual int System::Text::Encoding::GetByteCount(System::Details::ArrayView<char_t> chars, int index, int count)
ParameterTypBeskrivning
teckenSystem::Details::ArrayView<char_t>Teckenbuffert.
indexintSkiva början.
countintSkivans storlek.

ReturnValue

Krävd buffertstorlek.

Se även