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


Haal het aantal tekens op dat nodig is om een tekenbuffer te coderen.

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


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| tekens | ArrayPtr\<char_t\> | Tekensbuffer. |

### ReturnValue

Vereiste buffergrootte.

## Zie ook

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


Haal het aantal tekens op dat nodig is om een tekenbuffer te coderen.

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


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| tekens | ArrayPtr\<char_t\> | Tekensbuffer. |
| index | int | Begin van slice. |
| count | int | Slice‑grootte. |

### ReturnValue

Vereiste buffergrootte.

## Zie ook

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


Haal het aantal tekens op dat nodig is om een tekenbuffer te coderen.

```cpp
virtual int System::Text::Encoding::GetByteCount(const char_t *chars, int count)
```


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| tekens | const char_t * | Tekensbuffer. |
| count | int | [Buffer](../../../system/buffer/) grootte. |

### ReturnValue

Vereiste buffergrootte.

## Zie ook

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


Haal het aantal tekens op dat nodig is om een string te coderen.

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


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| s | const String\& | [String](../../../system/string/) om te coderen. |

### ReturnValue

Vereiste buffergrootte.

## Zie ook

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


Haal het aantal tekens op dat nodig is om een tekenbuffer te coderen.

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


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| tekens | const System::Details::StackArray\<char_t, N\>\& | Tekensbuffer. |
| index | int | Begin van slice. |
| count | int | Slice‑grootte. |

### ReturnValue

Vereiste buffergrootte.

## Zie ook

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


Haal het aantal tekens op dat nodig is om een tekenbuffer te coderen.

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


| Parameter | Type | Beschrijving |
| --- | --- | --- |
| tekens | System::Details::ArrayView\<char_t\> | Tekensbuffer. |
| index | int | Begin van slice. |
| count | int | Slice‑grootte. |

### ReturnValue

Vereiste buffergrootte.

## Zie ook

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