System::Text::Encoding::GetByteCount metod
Innehåll
[
Dölj
]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)
| Parameter | Type | Beskrivning |
|---|---|---|
| chars | ArrayPtr<char_t> | Teckenbuffer. |
ReturnValue
Krävd bufferstorlek.
Se även
- Typedef ArrayPtr
- Class Encoding
- Namespace System::Text
- Library Aspose.Page for C++
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)
| Parameter | Type | Beskrivning |
|---|---|---|
| chars | ArrayPtr<char_t> | Teckenbuffer. |
| index | int | Skiva början. |
| count | int | Slice storlek. |
ReturnValue
Krävd bufferstorlek.
Se även
- Typedef ArrayPtr
- Class Encoding
- Namespace System::Text
- Library Aspose.Page for C++
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)
| Parameter | Type | Beskrivning |
|---|---|---|
| chars | const char_t * | Teckenbuffer. |
| count | int | Buffer storlek. |
ReturnValue
Krävd bufferstorlek.
Se även
- Class Encoding
- Namespace System::Text
- Library Aspose.Page for C++
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)
| Parameter | Type | Beskrivning |
|---|---|---|
| s | const String& | String att koda. |
ReturnValue
Krävd bufferstorlek.
Se även
- Class String
- Class Encoding
- Namespace System::Text
- Library Aspose.Page for C++
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)
| Parameter | Type | Beskrivning |
|---|---|---|
| chars | const System::Details::StackArray<char_t, N>& | Teckenbuffer. |
| index | int | Skiva början. |
| count | int | Slice storlek. |
ReturnValue
Krävd bufferstorlek.
Se även
- Class Encoding
- Namespace System::Text
- Library Aspose.Page for C++
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)
| Parameter | Type | Beskrivning |
|---|---|---|
| chars | System::Details::ArrayView<char_t> | Teckenbuffer. |
| index | int | Skiva början. |
| count | int | Slice storlek. |
ReturnValue
Krävd bufferstorlek.
Se även
- Class Encoding
- Namespace System::Text
- Library Aspose.Page for C++