System::Text::Encoding::GetByteCount method
Contents
[
Hide
]Encoding::GetByteCount(ArrayPtr<char_t>) method
Get the number of characters needed to encode a character buffer.
virtual int System::Text::Encoding::GetByteCount(ArrayPtr<char_t> chars)
Parameter | Type | Description |
---|---|---|
chars | ArrayPtr<char_t> | Characters buffer. |
ReturnValue
Required buffer size.
See Also
- Typedef ArrayPtr
- Class Encoding
- Namespace System::Text
- Library Aspose.PUB for C++
Encoding::GetByteCount(ArrayPtr<char_t>, int, int) method
Get the number of characters needed to encode a character buffer.
virtual int System::Text::Encoding::GetByteCount(ArrayPtr<char_t> chars, int index, int count)
Parameter | Type | Description |
---|---|---|
chars | ArrayPtr<char_t> | Characters buffer. |
index | int | Slice begin. |
count | int | Slice size. |
ReturnValue
Required buffer size.
See Also
- Typedef ArrayPtr
- Class Encoding
- Namespace System::Text
- Library Aspose.PUB for C++
Encoding::GetByteCount(const char_t *, int) method
Get the number of characters needed to encode a character buffer.
virtual int System::Text::Encoding::GetByteCount(const char_t *chars, int count)
Parameter | Type | Description |
---|---|---|
chars | const char_t * | Characters buffer. |
count | int | Buffer size. |
ReturnValue
Required buffer size.
See Also
- Class Encoding
- Namespace System::Text
- Library Aspose.PUB for C++
Encoding::GetByteCount(const String&) method
Get the number of characters needed to encode a string.
virtual int System::Text::Encoding::GetByteCount(const String &s)
Parameter | Type | Description |
---|---|---|
s | const String& | String to encode. |
ReturnValue
Required buffer size.
See Also
- Class String
- Class Encoding
- Namespace System::Text
- Library Aspose.PUB for C++
Encoding::GetByteCount(const System::Details::StackArray<char_t, N>&, int, int) method
Get the number of characters needed to encode a character buffer.
template<std::size_t> int System::Text::Encoding::GetByteCount(const System::Details::StackArray<char_t, N> &chars, int index, int count)
Parameter | Type | Description |
---|---|---|
chars | const System::Details::StackArray<char_t, N>& | Characters buffer. |
index | int | Slice begin. |
count | int | Slice size. |
ReturnValue
Required buffer size.
See Also
- Class Encoding
- Namespace System::Text
- Library Aspose.PUB for C++
Encoding::GetByteCount(System::Details::ArrayView<char_t>, int, int) method
Get the number of characters needed to encode a character buffer.
virtual int System::Text::Encoding::GetByteCount(System::Details::ArrayView<char_t> chars, int index, int count)
Parameter | Type | Description |
---|---|---|
chars | System::Details::ArrayView<char_t> | Characters buffer. |
index | int | Slice begin. |
count | int | Slice size. |
ReturnValue
Required buffer size.
See Also
- Class Encoding
- Namespace System::Text
- Library Aspose.PUB for C++