Metodo System::BitConverter::GetBytes
BitConverter::GetBytes(bool) method
Converte il valore booleano specificato in un array di byte.
static System::ArrayPtr<uint8_t> System::BitConverter::GetBytes(bool value)
| Parametro | Tipo | Descrizione |
|---|---|---|
| valore | bool | Un valore booleano da convertire |
ReturnValue
Array di 1 byte che rappresenta il valore specificato
Vedi anche
- Typedef ArrayPtr
- Class BitConverter
- Namespace System
- Library Aspose.Font for C++
BitConverter::GetBytes(char_t) method
Converte il valore char_t specificato in un array di byte.
static System::ArrayPtr<uint8_t> System::BitConverter::GetBytes(char_t value)
| Parametro | Tipo | Descrizione |
|---|---|---|
| valore | char_t | Un valore char_t da convertire |
ReturnValue
Array di 2 byte che rappresenta il valore specificato
Vedi anche
- Typedef ArrayPtr
- Class BitConverter
- Namespace System
- Library Aspose.Font for C++
BitConverter::GetBytes(double) method
Converte il valore a virgola mobile a doppia precisione specificato in un array di byte.
static System::ArrayPtr<uint8_t> System::BitConverter::GetBytes(double value)
| Parametro | Tipo | Descrizione |
|---|---|---|
| valore | double | Un valore a virgola mobile da convertire |
ReturnValue
Array di 8 byte che rappresenta il valore specificato
Vedi anche
- Typedef ArrayPtr
- Class BitConverter
- Namespace System
- Library Aspose.Font for C++
BitConverter::GetBytes(float) method
Converte il valore a virgola mobile a precisione singola specificato in un array di byte.
static System::ArrayPtr<uint8_t> System::BitConverter::GetBytes(float value)
| Parametro | Tipo | Descrizione |
|---|---|---|
| valore | float | Un valore a virgola mobile da convertire |
ReturnValue
Array di 4 byte che rappresenta il valore specificato
Vedi anche
- Typedef ArrayPtr
- Class BitConverter
- Namespace System
- Library Aspose.Font for C++
BitConverter::GetBytes(int) method
Converte il valore intero a 32 bit specificato in un array di byte.
static System::ArrayPtr<uint8_t> System::BitConverter::GetBytes(int value)
| Parametro | Tipo | Descrizione |
|---|---|---|
| valore | int | Un valore intero a 32 bit da convertire |
ReturnValue
Array di 4 byte che rappresenta il valore specificato
Vedi anche
- Typedef ArrayPtr
- Class BitConverter
- Namespace System
- Library Aspose.Font for C++
BitConverter::GetBytes(int16_t) method
Converte il valore intero a 16 bit specificato in un array di byte.
static System::ArrayPtr<uint8_t> System::BitConverter::GetBytes(int16_t value)
| Parametro | Tipo | Descrizione |
|---|---|---|
| valore | int16_t | Un valore intero a 16 bit da convertire |
ReturnValue
Array di 2 byte che rappresenta il valore specificato
Vedi anche
- Typedef ArrayPtr
- Class BitConverter
- Namespace System
- Library Aspose.Font for C++
BitConverter::GetBytes(int64_t) method
Converte il valore intero a 64 bit specificato in un array di byte.
static System::ArrayPtr<uint8_t> System::BitConverter::GetBytes(int64_t value)
| Parametro | Tipo | Descrizione |
|---|---|---|
| valore | int64_t | Un valore intero a 64 bit da convertire |
ReturnValue
Array di 8 byte che rappresenta il valore specificato
Vedi anche
- Typedef ArrayPtr
- Class BitConverter
- Namespace System
- Library Aspose.Font for C++
BitConverter::GetBytes(uint16_t) method
Converte il valore intero senza segno a 16 bit specificato in un array di byte.
static System::ArrayPtr<uint8_t> System::BitConverter::GetBytes(uint16_t value)
| Parametro | Tipo | Descrizione |
|---|---|---|
| valore | uint16_t | Un valore intero senza segno a 16 bit da convertire |
ReturnValue
Array di 2 byte che rappresenta il valore specificato
Vedi anche
- Typedef ArrayPtr
- Class BitConverter
- Namespace System
- Library Aspose.Font for C++
BitConverter::GetBytes(uint32_t) method
Converte il valore intero senza segno a 32 bit specificato in un array di byte.
static System::ArrayPtr<uint8_t> System::BitConverter::GetBytes(uint32_t value)
| Parametro | Tipo | Descrizione |
|---|---|---|
| valore | uint32_t | Un valore intero senza segno a 32 bit da convertire |
ReturnValue
Array di 4 byte che rappresenta il valore specificato
Vedi anche
- Typedef ArrayPtr
- Class BitConverter
- Namespace System
- Library Aspose.Font for C++
BitConverter::GetBytes(uint64_t) method
Converte il valore intero senza segno a 64 bit specificato in un array di byte.
static System::ArrayPtr<uint8_t> System::BitConverter::GetBytes(uint64_t value)
| Parametro | Tipo | Descrizione |
|---|---|---|
| valore | uint64_t | Un valore intero senza segno a 64 bit da convertire |
ReturnValue
Array di 8 byte che rappresenta il valore specificato
Vedi anche
- Typedef ArrayPtr
- Class BitConverter
- Namespace System
- Library Aspose.Font for C++