## BitConverter::GetBytes(bool) method


Converte il valore booleano specificato in un array di byte.

```cpp
static System::ArrayPtr<uint8_t> System::BitConverter::GetBytes(bool value)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| value | bool | Un valore booleano da convertire |

### ReturnValue

Array di 1 byte che rappresenta il valore specificato

## Vedi anche

* Typedef [ArrayPtr](../../arrayptr/)
* Class [BitConverter](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## BitConverter::GetBytes(char_t) method


Converte il valore char_t specificato in un array di byte.

```cpp
static System::ArrayPtr<uint8_t> System::BitConverter::GetBytes(char_t value)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| value | char_t | Un valore char_t da convertire |

### ReturnValue

Array di 2 byte che rappresenta il valore specificato

## Vedi anche

* Typedef [ArrayPtr](../../arrayptr/)
* Class [BitConverter](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## BitConverter::GetBytes(double) method


Converte il valore a virgola mobile a doppia precisione specificato in un array di byte.

```cpp
static System::ArrayPtr<uint8_t> System::BitConverter::GetBytes(double value)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| value | double | Un valore a virgola mobile da convertire |

### ReturnValue

Array di 8 byte che rappresenta il valore specificato

## Vedi anche

* Typedef [ArrayPtr](../../arrayptr/)
* Class [BitConverter](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## BitConverter::GetBytes(float) method


Converte il valore a virgola mobile a precisione singola specificato in un array di byte.

```cpp
static System::ArrayPtr<uint8_t> System::BitConverter::GetBytes(float value)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| value | float | Un valore a virgola mobile da convertire |

### ReturnValue

Array di 4 byte che rappresenta il valore specificato

## Vedi anche

* Typedef [ArrayPtr](../../arrayptr/)
* Class [BitConverter](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## BitConverter::GetBytes(int) method


Converte il valore intero a 32 bit specificato in un array di byte.

```cpp
static System::ArrayPtr<uint8_t> System::BitConverter::GetBytes(int value)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| value | int | Un valore intero a 32 bit da convertire |

### ReturnValue

Array di 4 byte che rappresenta il valore specificato

## Vedi anche

* Typedef [ArrayPtr](../../arrayptr/)
* Class [BitConverter](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## BitConverter::GetBytes(int16_t) method


Converte il valore intero a 16 bit specificato in un array di byte.

```cpp
static System::ArrayPtr<uint8_t> System::BitConverter::GetBytes(int16_t value)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| value | int16_t | Un valore intero a 16 bit da convertire |

### ReturnValue

Array di 2 byte che rappresenta il valore specificato

## Vedi anche

* Typedef [ArrayPtr](../../arrayptr/)
* Class [BitConverter](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## BitConverter::GetBytes(int64_t) method


Converte il valore intero a 64 bit specificato in un array di byte.

```cpp
static System::ArrayPtr<uint8_t> System::BitConverter::GetBytes(int64_t value)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| value | int64_t | Un valore intero a 64 bit da convertire |

### ReturnValue

Array di 8 byte che rappresenta il valore specificato

## Vedi anche

* Typedef [ArrayPtr](../../arrayptr/)
* Class [BitConverter](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## BitConverter::GetBytes(uint16_t) method


Converte il valore intero senza segno a 16 bit specificato in un array di byte.

```cpp
static System::ArrayPtr<uint8_t> System::BitConverter::GetBytes(uint16_t value)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| value | 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](../../arrayptr/)
* Class [BitConverter](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## BitConverter::GetBytes(uint32_t) method


Converte il valore intero senza segno a 32 bit specificato in un array di byte.

```cpp
static System::ArrayPtr<uint8_t> System::BitConverter::GetBytes(uint32_t value)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| value | 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](../../arrayptr/)
* Class [BitConverter](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
## BitConverter::GetBytes(uint64_t) method


Converte il valore intero senza segno a 64 bit specificato in un array di byte.

```cpp
static System::ArrayPtr<uint8_t> System::BitConverter::GetBytes(uint64_t value)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| value | 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](../../arrayptr/)
* Class [BitConverter](../)
* Namespace [System](../../)
* Library [Aspose.Page for C++](../../../)
