System::Text::ICUEncoding::GetBytes method
ICUEncoding::GetBytes(ArrayPtr<char_t>) method
Get the bytes that result from encoding a character buffer.
virtual ArrayPtr<uint8_t> System::Text::Encoding::GetBytes(ArrayPtr<char_t> chars)
Parameter | Type | Description |
---|---|---|
chars | ArrayPtr<char_t> | Characters to encode. |
ReturnValue
Buffer that holds representation of characters being encoded.
See Also
- Typedef ArrayPtr
- Class ICUEncoding
- Namespace System::Text
- Library Aspose.PUB for C++
ICUEncoding::GetBytes(ArrayPtr<char_t>, int, int, ArrayPtr<uint8_t>, int) method
Get the bytes that result from encoding a character buffer.
virtual int System::Text::Encoding::GetBytes(ArrayPtr<char_t> chars, int char_index, int char_count, ArrayPtr<uint8_t> bytes, int byte_index)
Parameter | Type | Description |
---|---|---|
chars | ArrayPtr<char_t> | Characters to encode. |
char_index | int | Character slice beginning. |
char_count | int | Number of characters to convert. |
bytes | ArrayPtr<uint8_t> | Buffer to put characters to. |
byte_index | int | Output buffer offset. |
ReturnValue
Number of written bytes.
See Also
- Typedef ArrayPtr
- Class ICUEncoding
- Namespace System::Text
- Library Aspose.PUB for C++
ICUEncoding::GetBytes(ArrayPtr<char_t>, int, int) method
Get the bytes that result from encoding a character buffer.
virtual ArrayPtr<uint8_t> System::Text::Encoding::GetBytes(ArrayPtr<char_t> chars, int index, int count)
Parameter | Type | Description |
---|---|---|
chars | ArrayPtr<char_t> | Characters to encode. |
index | int | Character slice beginning. |
count | int | Number of characters to convert. |
ReturnValue
Buffer that holds representation of characters being encoded.
See Also
- Typedef ArrayPtr
- Class ICUEncoding
- Namespace System::Text
- Library Aspose.PUB for C++
ICUEncoding::GetBytes(const char_t *, int, uint8_t *, int) method
Get the bytes that result from encoding a character buffer.
int System::Text::ICUEncoding::GetBytes(const char_t *chars, int char_count, uint8_t *bytes, int byte_count) override
Parameter | Type | Description |
---|---|---|
chars | const char_t * | Characters to encode. |
char_count | int | Number of characters to convert. |
bytes | uint8_t * | Buffer to put characters to. |
byte_count | int | Output buffer size. |
ReturnValue
Number of written bytes.
See Also
- Class ICUEncoding
- Namespace System::Text
- Library Aspose.PUB for C++
ICUEncoding::GetBytes(const String&) method
Get the bytes that result from encoding a character buffer.
virtual ArrayPtr<uint8_t> System::Text::Encoding::GetBytes(const String &s)
Parameter | Type | Description |
---|---|---|
s | const String& | String to encode. |
ReturnValue
Buffer that holds representation of characters being encoded.
See Also
- Typedef ArrayPtr
- Class String
- Class ICUEncoding
- Namespace System::Text
- Library Aspose.PUB for C++
ICUEncoding::GetBytes(const String&, int, int, ArrayPtr<uint8_t>, int) method
Get the bytes that result from encoding a character buffer.
virtual int System::Text::Encoding::GetBytes(const String &s, int char_index, int char_count, ArrayPtr<uint8_t> bytes, int byte_index)
Parameter | Type | Description |
---|---|---|
s | const String& | String to encode. |
char_index | int | Character slice beginning. |
char_count | int | Number of characters to convert. |
bytes | ArrayPtr<uint8_t> | Buffer to put characters to. |
byte_index | int | Output buffer offset. |
ReturnValue
Number of written bytes.
See Also
- Class String
- Typedef ArrayPtr
- Class ICUEncoding
- Namespace System::Text
- Library Aspose.PUB for C++
ICUEncoding::GetBytes(const System::Details::ArrayView<char_t>&, int, int) method
Get the bytes that result from encoding a character buffer.
virtual ArrayPtr<uint8_t> System::Text::Encoding::GetBytes(const System::Details::ArrayView<char_t> &chars, int index, int count)
Parameter | Type | Description |
---|---|---|
chars | const System::Details::ArrayView<char_t>& | Characters to encode. |
index | int | Character slice beginning. |
count | int | Number of characters to convert. |
ReturnValue
Buffer that holds representation of characters being encoded.
See Also
- Typedef ArrayPtr
- Class ICUEncoding
- Namespace System::Text
- Library Aspose.PUB for C++
ICUEncoding::GetBytes(const System::Details::StackArray<char_t, N>&, int, int) method
Get the bytes that result from encoding a character buffer.
template<std::size_t> ArrayPtr<uint8_t> System::Text::Encoding::GetBytes(const System::Details::StackArray<char_t, N> &chars, int index, int count)
Parameter | Type | Description |
---|---|---|
chars | const System::Details::StackArray<char_t, N>& | Characters to encode. |
index | int | Character slice beginning. |
count | int | Number of characters to convert. |
ReturnValue
Buffer that holds representation of characters being encoded.
See Also
- Typedef ArrayPtr
- Class ICUEncoding
- Namespace System::Text
- Library Aspose.PUB for C++
ICUEncoding::GetBytes(System::Details::ArrayView<char_t>, int, int, System::Details::ArrayView<uint8_t>, int) method
Get the bytes that result from encoding a character buffer.
virtual int System::Text::Encoding::GetBytes(System::Details::ArrayView<char_t> chars, int char_index, int char_count, System::Details::ArrayView<uint8_t> bytes, int byte_index)
Parameter | Type | Description |
---|---|---|
chars | System::Details::ArrayView<char_t> | Characters to encode. |
char_index | int | Character slice beginning. |
char_count | int | Number of characters to convert. |
bytes | System::Details::ArrayView<uint8_t> | Buffer to put characters to. |
byte_index | int | Output buffer offset. |
ReturnValue
Number of written bytes.
See Also
- Class ICUEncoding
- Namespace System::Text
- Library Aspose.PUB for C++
ICUEncoding::GetBytes(System::Details::StackArray<char_t, SC>&, int, int, System::Details::StackArray<uint8_t, SB>&, int) method
Get the bytes that result from encoding a character buffer.
template<std::size_t,std::size_t> int System::Text::Encoding::GetBytes(System::Details::StackArray<char_t, SC> &chars, int char_index, int char_count, System::Details::StackArray<uint8_t, SB> &bytes, int byte_index)
Parameter | Type | Description |
---|---|---|
chars | System::Details::StackArray<char_t, SC>& | Characters to encode. |
char_index | int | Character slice beginning. |
char_count | int | Number of characters to convert. |
bytes | System::Details::StackArray<uint8_t, SB>& | Buffer to put characters to. |
byte_index | int | Output buffer offset. |
ReturnValue
Number of written bytes.
See Also
- Class ICUEncoding
- Namespace System::Text
- Library Aspose.PUB for C++