ToString()
Contents
[
Hide
]BitConverter::ToString(const ArrayPtr<uint8_t>&, bool, const String&) method
Converts all values of the specified byte array into their hexadecimal string representation. Case of letters to use in hexadecimal notation and separator inserted between each pair of neighbouring bytes are specified through corresponding arguments.
static String System::BitConverter::ToString(const ArrayPtr<uint8_t> &value, bool uppercase=1, const String &separator=u"-")
Arguments
Parameter | Type | Description |
---|---|---|
value | const ArrayPtr<uint8_t>& | Array that contains bytes to convert |
uppercase | bool | Specifies the case of letters to use in resulting hexadecimal representation |
separator | const String& | A string used as a separator inserted between each pair of neighbouring bytes in the resulting string |
Return Value
String containing hexadecimal representation of the specified byte array
BitConverter::ToString(const ArrayPtr<uint8_t>&, int) method
Converts values of the specified byte array into their hexadecimal string representation starting at specified index.
static String System::BitConverter::ToString(const ArrayPtr<uint8_t> &value, int startIndex)
Arguments
Parameter | Type | Description |
---|---|---|
value | const ArrayPtr<uint8_t>& | Array that contains bytes to convert |
startIndex | int | Index in the specified array at which to start converting |
Return Value
String containing hexadecimal representation of the specified range of elements of the specified array
BitConverter::ToString(const ArrayPtr<uint8_t>&, int, int) method
Converts a range of values of the specified byte array into their hexadecimal string representation.
static String System::BitConverter::ToString(const ArrayPtr<uint8_t> &value, int startIndex, int length)
Arguments
Parameter | Type | Description |
---|---|---|
value | const ArrayPtr<uint8_t>& | Array that contains bytes to convert |
startIndex | int | Index in the specified array at which the range of the byte array elements to convert begins |
length | int | The length of the range the byte array elements to convert |
Return Value
String containing hexadecimal representation of the specified range of elements of the specified array
See Also
- Typedef ArrayPtr
- Class String
- Class BitConverter
- Namespace System
- Library Aspose.Slides