GetBytes()
UTF7Encoding::GetBytes(ArrayPtr<char_t>, int, int, ArrayPtr<uint8_t>, int) method
Get the bytes that result from encoding a character buffer.
int System::Text::UTF7Encoding::GetBytes(ArrayPtr<char_t> chars, int char_index, int char_count, ArrayPtr<uint8_t> bytes, int byte_index) override
Arguments
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. |
Return Value
Number of written bytes.
UTF7Encoding::GetBytes(const char_t *, int, uint8_t *, int) method
Get the bytes that result from encoding a character buffer.
int System::Text::UTF7Encoding::GetBytes(const char_t *chars, int char_count, uint8_t *bytes, int byte_count) override
Arguments
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. |
Return Value
Number of written bytes.
UTF7Encoding::GetBytes(const String&, int, int, ArrayPtr<uint8_t>, int) method
Get the bytes that result from encoding a character buffer.
int System::Text::UTF7Encoding::GetBytes(const String &s, int char_index, int char_count, ArrayPtr<uint8_t> bytes, int byte_index) override
Arguments
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. |
Return Value
Number of written bytes.
UTF7Encoding::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)
Arguments
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. |
Return Value
Number of written bytes.
UTF7Encoding::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)
Arguments
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. |
Return Value
Number of written bytes.
UTF7Encoding::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)
Arguments
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. |
Return Value
Number of written bytes.
UTF7Encoding::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)
Arguments
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. |
Return Value
Number of written bytes.
UTF7Encoding::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)
Arguments
Parameter | Type | Description |
---|---|---|
s | const String& | String to encode. |
Return Value
Buffer that holds representation of characters being encoded.
UTF7Encoding::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)
Arguments
Parameter | Type | Description |
---|---|---|
chars | ArrayPtr<char_t> | Characters to encode. |
index | int | Character slice beginning. |
count | int | Number of characters to convert. |
Return Value
Buffer that holds representation of characters being encoded.
UTF7Encoding::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)
Arguments
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. |
Return Value
Buffer that holds representation of characters being encoded.
UTF7Encoding::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)
Arguments
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. |
Return Value
Buffer that holds representation of characters being encoded.
UTF7Encoding::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)
Arguments
Parameter | Type | Description |
---|---|---|
chars | ArrayPtr<char_t> | Characters to encode. |
Return Value
Buffer that holds representation of characters being encoded.
UTF7Encoding::GetBytes(const char_t *, int, uint8_t *, int) method
Get the bytes that result from encoding a character buffer.
virtual int System::Text::Encoding::GetBytes(const char_t *chars, int char_count, uint8_t *bytes, int byte_count)
Arguments
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. |
Return Value
Number of written bytes.
See Also
- Typedef ArrayPtr
- Class UTF7Encoding
- Class String
- Namespace System::Text
- Library Aspose.Slides