Convert()
Contents
[
Hide
]Encoding::Convert(const EncodingPtr&, const EncodingPtr&, const ArrayPtr<uint8_t>&) method
Converts bytes between two encodings.
static ArrayPtr<uint8_t> System::Text::Encoding::Convert(const EncodingPtr &src_encoding, const EncodingPtr &dst_encoding, const ArrayPtr<uint8_t> &bytes)
Arguments
Parameter | Type | Description |
---|---|---|
src_encoding | const EncodingPtr& | Source encoding. |
dst_encoding | const EncodingPtr& | Destination encoding. |
bytes | const ArrayPtr<uint8_t>& | Bytes to convert. |
Return Value
Converted bytes.
Encoding::Convert(const EncodingPtr&, const EncodingPtr&, const ArrayPtr<uint8_t>&, int, int) method
Converts bytes between two encodings.
static ArrayPtr<uint8_t> System::Text::Encoding::Convert(const EncodingPtr &src_encoding, const EncodingPtr &dst_encoding, const ArrayPtr<uint8_t> &bytes, int index, int count)
Arguments
Parameter | Type | Description |
---|---|---|
src_encoding | const EncodingPtr& | Source encoding. |
dst_encoding | const EncodingPtr& | Destination encoding. |
bytes | const ArrayPtr<uint8_t>& | Bytes to convert. |
index | int | Slice beginning. |
count | int | Slice size. |
Return Value
Converted bytes.
See Also
- Typedef ArrayPtr
- Typedef EncodingPtr
- Class Encoding
- Namespace System::Text
- Library Aspose.Slides