System::Text::Encoding::GetByteCount metod

Encoding::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)
ParameterTypeBeskrivning
charsArrayPtr<char_t>Teckenbuffer.

ReturnValue

Krävd bufferstorlek.

Se även

Encoding::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)
ParameterTypeBeskrivning
charsArrayPtr<char_t>Teckenbuffer.
indexintSkiva början.
countintSlice storlek.

ReturnValue

Krävd bufferstorlek.

Se även

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

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

virtual int System::Text::Encoding::GetByteCount(const char_t *chars, int count)
ParameterTypeBeskrivning
charsconst char_t *Teckenbuffer.
countintBuffer storlek.

ReturnValue

Krävd bufferstorlek.

Se även

Encoding::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)
ParameterTypeBeskrivning
sconst String&String att koda.

ReturnValue

Krävd bufferstorlek.

Se även

Encoding::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)
ParameterTypeBeskrivning
charsconst System::Details::StackArray<char_t, N>&Teckenbuffer.
indexintSkiva början.
countintSlice storlek.

ReturnValue

Krävd bufferstorlek.

Se även

Encoding::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)
ParameterTypeBeskrivning
charsSystem::Details::ArrayView<char_t>Teckenbuffer.
indexintSkiva början.
countintSlice storlek.

ReturnValue

Krävd bufferstorlek.

Se även