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 | Typ | Beskrivning |
|---|---|---|
| tecken | ArrayPtr<char_t> | Teckenbuffert. |
ReturnValue
Krävd buffertstorlek.
Se även
- Typedef ArrayPtr
- Class Encoding
- Namespace System::Text
- Library Aspose.PDF 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 | Typ | Beskrivning |
|---|---|---|
| tecken | ArrayPtr<char_t> | Teckenbuffert. |
| index | int | Skiva början. |
| count | int | Skivans storlek. |
ReturnValue
Krävd buffertstorlek.
Se även
- Typedef ArrayPtr
- Class Encoding
- Namespace System::Text
- Library Aspose.PDF 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 | Typ | Beskrivning |
|---|---|---|
| tecken | const char_t * | Teckenbuffert. |
| count | int | Buffer storlek. |
ReturnValue
Krävd buffertstorlek.
Se även
- Class Encoding
- Namespace System::Text
- Library Aspose.PDF 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 | Typ | Beskrivning |
|---|---|---|
| s | const String& | String att koda. |
ReturnValue
Krävd buffertstorlek.
Se även
- Class String
- Class Encoding
- Namespace System::Text
- Library Aspose.PDF 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 | Typ | Beskrivning |
|---|---|---|
| tecken | const System::Details::StackArray<char_t, N>& | Teckenbuffert. |
| index | int | Skiva början. |
| count | int | Skivans storlek. |
ReturnValue
Krävd buffertstorlek.
Se även
- Class Encoding
- Namespace System::Text
- Library Aspose.PDF 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 | Typ | Beskrivning |
|---|---|---|
| tecken | System::Details::ArrayView<char_t> | Teckenbuffert. |
| index | int | Skiva början. |
| count | int | Skivans storlek. |
ReturnValue
Krävd buffertstorlek.
Se även
- Class Encoding
- Namespace System::Text
- Library Aspose.PDF for C++