## UTF7Encoding::GetByteCount(ArrayPtr\<char_t\>) method


Ottieni il numero di caratteri necessari per codificare un buffer di caratteri.

```cpp
virtual int System::Text::Encoding::GetByteCount(ArrayPtr<char_t> chars)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| chars | ArrayPtr\<char_t\> | Buffer di caratteri. |

### ReturnValue

Dimensione del buffer richiesta.

## Vedi anche

* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [UTF7Encoding](../)
* Namespace [System::Text](../../)
* Library [Aspose.Page for C++](../../../)
## UTF7Encoding::GetByteCount(ArrayPtr\<char_t\>, int, int) method


Ottieni il numero di caratteri necessari per codificare un buffer di caratteri.

```cpp
virtual int System::Text::Encoding::GetByteCount(ArrayPtr<char_t> chars, int index, int count)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| chars | ArrayPtr\<char_t\> | Buffer di caratteri. |
| indice | int | Inizio slice. |
| count | int | Dimensione della slice. |

### ReturnValue

Dimensione del buffer richiesta.

## Vedi anche

* Typedef [ArrayPtr](../../../system/arrayptr/)
* Class [UTF7Encoding](../)
* Namespace [System::Text](../../)
* Library [Aspose.Page for C++](../../../)
## UTF7Encoding::GetByteCount(const char_t *, int) method


Ottieni il numero di caratteri necessari per codificare un buffer di caratteri.

```cpp
int System::Text::UTF7Encoding::GetByteCount(const char_t *chars, int count) override
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| chars | const char_t * | Buffer di caratteri. |
| count | int | Dimensione del [Buffer](../../../system/buffer/). |

### ReturnValue

Dimensione del buffer richiesta.

## Vedi anche

* Class [UTF7Encoding](../)
* Namespace [System::Text](../../)
* Library [Aspose.Page for C++](../../../)
## UTF7Encoding::GetByteCount(const String\&) method


Ottieni il numero di caratteri necessari per codificare una stringa.

```cpp
virtual int System::Text::Encoding::GetByteCount(const String &s)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| s | const String\& | [String](../../../system/string/) da codificare. |

### ReturnValue

Dimensione del buffer richiesta.

## Vedi anche

* Class [String](../../../system/string/)
* Class [UTF7Encoding](../)
* Namespace [System::Text](../../)
* Library [Aspose.Page for C++](../../../)
## UTF7Encoding::GetByteCount(const System::Details::StackArray\<char_t, N\>\&, int, int) method


Ottieni il numero di caratteri necessari per codificare un buffer di caratteri.

```cpp
template<std::size_t> int System::Text::Encoding::GetByteCount(const System::Details::StackArray<char_t, N> &chars, int index, int count)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| chars | const System::Details::StackArray\<char_t, N\>\& | Buffer di caratteri. |
| indice | int | Inizio slice. |
| count | int | Dimensione della slice. |

### ReturnValue

Dimensione del buffer richiesta.

## Vedi anche

* Class [UTF7Encoding](../)
* Namespace [System::Text](../../)
* Library [Aspose.Page for C++](../../../)
## UTF7Encoding::GetByteCount(System::Details::ArrayView\<char_t\>, int, int) method


Ottieni il numero di caratteri necessari per codificare un buffer di caratteri.

```cpp
virtual int System::Text::Encoding::GetByteCount(System::Details::ArrayView<char_t> chars, int index, int count)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| chars | System::Details::ArrayView\<char_t\> | Buffer di caratteri. |
| indice | int | Inizio slice. |
| count | int | Dimensione della slice. |

### ReturnValue

Dimensione del buffer richiesta.

## Vedi anche

* Class [UTF7Encoding](../)
* Namespace [System::Text](../../)
* Library [Aspose.Page for C++](../../../)
