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


Hämta antalet tecken som behövs för att koda en teckenbuffert.

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


| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| tecken | ArrayPtr\<char_t\> | Teckenbuffert. |

### ReturnValue

Krävd buffertstorlek.

## Se även

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


Hämta antalet tecken som behövs för att koda en teckenbuffert.

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


| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| tecken | ArrayPtr\<char_t\> | Teckenbuffert. |
| index | int | Skiva början. |
| count | int | Skivans storlek. |

### ReturnValue

Krävd buffertstorlek.

## Se även

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


Hämta antalet tecken som behövs för att koda en teckenbuffert.

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


| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| tecken | const char_t * | Teckenbuffert. |
| count | int | [Buffer](../../../system/buffer/) storlek. |

### ReturnValue

Krävd buffertstorlek.

## Se även

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


Hämta antalet tecken som behövs för att koda en sträng.

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


| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| s | const String\& | [String](../../../system/string/) att koda. |

### ReturnValue

Krävd buffertstorlek.

## Se även

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


Hämta antalet tecken som behövs för att koda en teckenbuffert.

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


| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| tecken | const System::Details::StackArray\<char_t, N\>\& | Teckenbuffert. |
| index | int | Skiva början. |
| count | int | Skivans storlek. |

### ReturnValue

Krävd buffertstorlek.

## Se även

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


Hämta antalet tecken som behövs för att koda en teckenbuffert.

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


| Parameter | Typ | Beskrivning |
| --- | --- | --- |
| tecken | System::Details::ArrayView\<char_t\> | Teckenbuffert. |
| index | int | Skiva början. |
| count | int | Skivans storlek. |

### ReturnValue

Krävd buffertstorlek.

## Se även

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