Static Public Member Functions | |
static ASPOSECPP_SHARED_API bool | _IsLittleEndian () |
static ASPOSECPP_SHARED_API System::ArrayPtr< uint8_t > | GetBytes (bool value) |
static ASPOSECPP_SHARED_API System::ArrayPtr< uint8_t > | GetBytes (char_t value) |
static ASPOSECPP_SHARED_API System::ArrayPtr< uint8_t > | GetBytes (int16_t value) |
static ASPOSECPP_SHARED_API System::ArrayPtr< uint8_t > | GetBytes (int value) |
static ASPOSECPP_SHARED_API System::ArrayPtr< uint8_t > | GetBytes (int64_t value) |
static ASPOSECPP_SHARED_API System::ArrayPtr< uint8_t > | GetBytes (uint16_t value) |
static ASPOSECPP_SHARED_API System::ArrayPtr< uint8_t > | GetBytes (uint32_t value) |
static ASPOSECPP_SHARED_API System::ArrayPtr< uint8_t > | GetBytes (uint64_t value) |
static ASPOSECPP_SHARED_API System::ArrayPtr< uint8_t > | GetBytes (float value) |
static ASPOSECPP_SHARED_API System::ArrayPtr< uint8_t > | GetBytes (double value) |
static ASPOSECPP_SHARED_API bool | ToBoolean (const System::ArrayPtr< uint8_t > &value, int startIndex) |
static ASPOSECPP_SHARED_API bool | ToBoolean (const System::Details::ArrayView< uint8_t > &value, int startIndex) |
static ASPOSECPP_SHARED_API char_t | ToChar (const System::ArrayPtr< uint8_t > &value, int startIndex) |
static ASPOSECPP_SHARED_API char_t | ToChar (const System::Details::ArrayView< uint8_t > &value, int startIndex) |
static ASPOSECPP_SHARED_API int16_t | ToInt16 (const System::ArrayPtr< uint8_t > &value, int startIndex) |
static ASPOSECPP_SHARED_API int16_t | ToInt16 (const System::Details::ArrayView< uint8_t > &value, int startIndex) |
static ASPOSECPP_SHARED_API int | ToInt32 (const System::ArrayPtr< uint8_t > &value, int startIndex) |
static ASPOSECPP_SHARED_API int | ToInt32 (const System::Details::ArrayView< uint8_t > &value, int startIndex) |
static ASPOSECPP_SHARED_API int64_t | ToInt64 (const System::ArrayPtr< uint8_t > &value, int startIndex) |
static ASPOSECPP_SHARED_API int64_t | ToInt64 (const System::Details::ArrayView< uint8_t > &value, int startIndex) |
static ASPOSECPP_SHARED_API uint16_t | ToUInt16 (const System::ArrayPtr< uint8_t > &value, int startIndex) |
static ASPOSECPP_SHARED_API uint16_t | ToUInt16 (const System::Details::ArrayView< uint8_t > &value, int startIndex) |
static ASPOSECPP_SHARED_API uint32_t | ToUInt32 (const System::ArrayPtr< uint8_t > &value, int startIndex) |
static ASPOSECPP_SHARED_API uint32_t | ToUInt32 (const System::Details::ArrayView< uint8_t > &value, int startIndex) |
static ASPOSECPP_SHARED_API uint64_t | ToUInt64 (const System::ArrayPtr< uint8_t > &value, int startIndex) |
static ASPOSECPP_SHARED_API uint64_t | ToUInt64 (const System::Details::ArrayView< uint8_t > &value, int startIndex) |
static ASPOSECPP_SHARED_API float | ToSingle (const System::ArrayPtr< uint8_t > &value, int startIndex) |
static ASPOSECPP_SHARED_API float | ToSingle (const System::Details::ArrayView< uint8_t > &value, int startIndex) |
static ASPOSECPP_SHARED_API double | ToDouble (const System::ArrayPtr< uint8_t > &value, int startIndex) |
static ASPOSECPP_SHARED_API double | ToDouble (const System::Details::ArrayView< uint8_t > &value, int startIndex) |
static ASPOSECPP_SHARED_API String | ToString (const ArrayPtr< uint8_t > &value, bool uppercase=1, const String &separator=u"-") |
static ASPOSECPP_SHARED_API String | ToString (const ArrayPtr< uint8_t > &value, int startIndex) |
static ASPOSECPP_SHARED_API String | ToString (const ArrayPtr< uint8_t > &value, int startIndex, int length) |
static ASPOSECPP_SHARED_API int64_t | DoubleToInt64Bits (double value) |
static ASPOSECPP_SHARED_API double | Int64BitsToDouble (int64_t value) |
Static Public Attributes | |
static const ASPOSECPP_SHARED_API bool | IsLittleEndian |
Contains methods that perform conversions of sequence of bytes to a value type and vice-versa. This is a static type with no instance services. You should never create instances of it by any means.
|
static |
Indicates the endianness of the current architecture.
|
static |
Returns a 64-bit integer value whose binary representation is equal to binary representation of the specified double-precision floating point value.
value | The double-precision floating point value |
|
static |
Converts the specified boolean value into an array of bytes.
value | A boolean value to convert |
|
static |
Converts the specified char_t value into an array of bytes.
value | A char_t value to convert |
|
static |
Converts the specified 16-bit integer value into an array of bytes.
value | A 16-bit integer value to convert |
|
static |
Converts the specified 32-bit integer value into an array of bytes.
value | A 32-bit integer value to convert |
|
static |
Converts the specified 64-bit integer value into an array of bytes.
value | A 64-bit integer value to convert |
|
static |
Converts the specified unsigned 16-bit integer value into an array of bytes.
value | An unsigned 16-bit integer value to convert |
|
static |
Converts the specified unsigned 32-bit integer value into an array of bytes.
value | An unsigned 32-bit integer value to convert |
|
static |
Converts the specified unsigned 64-bit integer value into an array of bytes.
value | An unsigned 64-bit integer value to convert |
|
static |
Converts the specified single-precision floating-point value into an array of bytes.
value | A floating-point value to convert |
|
static |
Converts the specified double-precision floating-point value into an array of bytes.
value | A floating-point value to convert |
|
static |
Returns a double-precision floating point value whose value is equivalent to value
value | 64-bit integer value whose binary representation is equal to that of the specified value |
|
static |
|
static |
Converts one byte from the specified array starting at the specified index to boolean value
value | ArrayView that contains bytes to convert |
startIndex | Index in the array at which to start taking bytes for conversion |
|
static |
Converts two bytes from the specified array starting at the specified index to char_t value
value | Array that contains bytes to convert |
startIndex | Index in the array at which to start taking bytes for conversion |
|
static |
Converts two bytes from the specified array starting at the specified index to char_t value
value | ArrayView that contains bytes to convert |
startIndex | Index in the array at which to start taking bytes for conversion |
|
static |
Converts eight bytes from the specified array starting at the specified index to double-precision floating point value
value | Array that contains bytes to convert |
startIndex | Index in the array at which to start taking bytes for conversion |
|
static |
Converts eight bytes from the specified array starting at the specified index to double-precision floating point value
value | ArrayView that contains bytes to convert |
startIndex | Index in the array at which to start taking bytes for conversion |
|
static |
Converts two bytes from the specified array starting at the specified index to 16-bit integer value
value | Array that contains bytes to convert |
startIndex | Index in the array at which to start taking bytes for conversion |
|
static |
Converts two bytes from the specified array starting at the specified index to 16-bit integer value
value | ArrayView that contains bytes to convert |
startIndex | Index in the array at which to start taking bytes for conversion |
|
static |
Converts four bytes from the specified array starting at the specified index to 32-bit integer value
value | Array that contains bytes to convert |
startIndex | Index in the array at which to start taking bytes for conversion |
|
static |
Converts four bytes from the specified array starting at the specified index to 32-bit integer value
value | ArrayView that contains bytes to convert |
startIndex | Index in the array at which to start taking bytes for conversion |
|
static |
Converts eight bytes from the specified array starting at the specified index to 64-bit integer value
value | Array that contains bytes to convert |
startIndex | Index in the array at which to start taking bytes for conversion |
|
static |
Converts eight bytes from the specified array starting at the specified index to 64-bit integer value
value | ArrayView that contains bytes to convert |
startIndex | Index in the array at which to start taking bytes for conversion |
|
static |
Converts four bytes from the specified array starting at the specified index to single-precision floating point value
value | Array that contains bytes to convert |
startIndex | Index in the array at which to start taking bytes for conversion |
|
static |
Converts four bytes from the specified array starting at the specified index to single-precision floating point value
value | ArrayView that contains bytes to convert |
startIndex | Index in the array at which to start taking bytes for conversion |
|
static |
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.
value | Array that contains bytes to convert |
uppercase | Specifies the case of letters to use in resulting hexadecimal representation |
separator | A string used as a separator inserted between each pair of neighbouring bytes in the resulting string |
|
static |
Converts values of the specified byte array into their hexadecimal string representation starting at specified index.
value | Array that contains bytes to convert |
startIndex | Index in the specified array at which to start converting |
|
static |
Converts a range of values of the specified byte array into their hexadecimal string representation.
value | Array that contains bytes to convert |
startIndex | Index in the specified array at which the range of the byte array elements to convert begins |
length | The length of the range the byte array elements to convert |
|
static |
Converts two bytes from the specified array starting at the specified index to unsigned 16-bit integer value
value | Array that contains bytes to convert |
startIndex | Index in the array at which to start taking bytes for conversion |
|
static |
Converts two bytes from the specified array starting at the specified index to unsigned 16-bit integer value
value | ArrayView that contains bytes to convert |
startIndex | Index in the array at which to start taking bytes for conversion |
|
static |
Converts four bytes from the specified array starting at the specified index to unsigned 32-bit integer value
value | Array that contains bytes to convert |
startIndex | Index in the array at which to start taking bytes for conversion |
|
static |
Converts four bytes from the specified array starting at the specified index to unsigned 32-bit integer value
value | ArrayView that contains bytes to convert |
startIndex | Index in the array at which to start taking bytes for conversion |
|
static |
Converts eight bytes from the specified array starting at the specified index to unsigned 64-bit integer value
value | Array that contains bytes to convert |
startIndex | Index in the array at which to start taking bytes for conversion |
|
static |
Converts eight bytes from the specified array starting at the specified index to unsigned 64-bit integer value
value | ArrayView that contains bytes to convert |
startIndex | Index in the array at which to start taking bytes for conversion |
|
static |
Indicates the endianness of the current architecture. true if the architecture is little endian, false otherwise