System::BitConverter::GetBytes method
BitConverter::GetBytes(bool) method
Converts the specified boolean value into an array of bytes.
static System::ArrayPtr<uint8_t> System::BitConverter::GetBytes(bool value)
Parameter | Type | Description |
---|---|---|
value | bool | A boolean value to convert |
ReturnValue
1-byte array representing specified value
See Also
- Typedef ArrayPtr
- Class BitConverter
- Namespace System
- Library Aspose.TeX for C++
BitConverter::GetBytes(char_t) method
Converts the specified char_t value into an array of bytes.
static System::ArrayPtr<uint8_t> System::BitConverter::GetBytes(char_t value)
Parameter | Type | Description |
---|---|---|
value | char_t | A char_t value to convert |
ReturnValue
2-byte array representing specified value
See Also
- Typedef ArrayPtr
- Class BitConverter
- Namespace System
- Library Aspose.TeX for C++
BitConverter::GetBytes(double) method
Converts the specified double-precision floating-point value into an array of bytes.
static System::ArrayPtr<uint8_t> System::BitConverter::GetBytes(double value)
Parameter | Type | Description |
---|---|---|
value | double | A floating-point value to convert |
ReturnValue
8-byte array representing specified value
See Also
- Typedef ArrayPtr
- Class BitConverter
- Namespace System
- Library Aspose.TeX for C++
BitConverter::GetBytes(float) method
Converts the specified single-precision floating-point value into an array of bytes.
static System::ArrayPtr<uint8_t> System::BitConverter::GetBytes(float value)
Parameter | Type | Description |
---|---|---|
value | float | A floating-point value to convert |
ReturnValue
4-byte array representing specified value
See Also
- Typedef ArrayPtr
- Class BitConverter
- Namespace System
- Library Aspose.TeX for C++
BitConverter::GetBytes(int) method
Converts the specified 32-bit integer value into an array of bytes.
static System::ArrayPtr<uint8_t> System::BitConverter::GetBytes(int value)
Parameter | Type | Description |
---|---|---|
value | int | A 32-bit integer value to convert |
ReturnValue
4-byte array representing specified value
See Also
- Typedef ArrayPtr
- Class BitConverter
- Namespace System
- Library Aspose.TeX for C++
BitConverter::GetBytes(int16_t) method
Converts the specified 16-bit integer value into an array of bytes.
static System::ArrayPtr<uint8_t> System::BitConverter::GetBytes(int16_t value)
Parameter | Type | Description |
---|---|---|
value | int16_t | A 16-bit integer value to convert |
ReturnValue
2-byte array representing specified value
See Also
- Typedef ArrayPtr
- Class BitConverter
- Namespace System
- Library Aspose.TeX for C++
BitConverter::GetBytes(int64_t) method
Converts the specified 64-bit integer value into an array of bytes.
static System::ArrayPtr<uint8_t> System::BitConverter::GetBytes(int64_t value)
Parameter | Type | Description |
---|---|---|
value | int64_t | A 64-bit integer value to convert |
ReturnValue
8-byte array representing specified value
See Also
- Typedef ArrayPtr
- Class BitConverter
- Namespace System
- Library Aspose.TeX for C++
BitConverter::GetBytes(uint16_t) method
Converts the specified unsigned 16-bit integer value into an array of bytes.
static System::ArrayPtr<uint8_t> System::BitConverter::GetBytes(uint16_t value)
Parameter | Type | Description |
---|---|---|
value | uint16_t | An unsigned 16-bit integer value to convert |
ReturnValue
2-byte array representing specified value
See Also
- Typedef ArrayPtr
- Class BitConverter
- Namespace System
- Library Aspose.TeX for C++
BitConverter::GetBytes(uint32_t) method
Converts the specified unsigned 32-bit integer value into an array of bytes.
static System::ArrayPtr<uint8_t> System::BitConverter::GetBytes(uint32_t value)
Parameter | Type | Description |
---|---|---|
value | uint32_t | An unsigned 32-bit integer value to convert |
ReturnValue
4-byte array representing specified value
See Also
- Typedef ArrayPtr
- Class BitConverter
- Namespace System
- Library Aspose.TeX for C++
BitConverter::GetBytes(uint64_t) method
Converts the specified unsigned 64-bit integer value into an array of bytes.
static System::ArrayPtr<uint8_t> System::BitConverter::GetBytes(uint64_t value)
Parameter | Type | Description |
---|---|---|
value | uint64_t | An unsigned 64-bit integer value to convert |
ReturnValue
8-byte array representing specified value
See Also
- Typedef ArrayPtr
- Class BitConverter
- Namespace System
- Library Aspose.TeX for C++