System::BitConverter::ToString method
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=true, const String &separator=u"-")
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 |
ReturnValue
String containing hexadecimal representation of the specified byte array
See Also
- Class String
- Typedef ArrayPtr
- Class BitConverter
- Namespace System
- Library Aspose.PDF for C++
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)
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 |
ReturnValue
String containing hexadecimal representation of the specified range of elements of the specified array
See Also
- Class String
- Typedef ArrayPtr
- Class BitConverter
- Namespace System
- Library Aspose.PDF for C++
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)
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 |
ReturnValue
String containing hexadecimal representation of the specified range of elements of the specified array
See Also
- Class String
- Typedef ArrayPtr
- Class BitConverter
- Namespace System
- Library Aspose.PDF for C++