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


RTTI.

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

## Se även

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


RTTI.

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

## Se även

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


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

```cpp
int System::Text::ICUEncoding::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 [ICUEncoding](../)
* Namespace [System::Text](../../)
* Library [Aspose.PDF for C++](../../../)
## ICUEncoding::GetByteCount(const String\&) method


RTTI.

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

## Se även

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


RTTI.

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

## Se även

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


RTTI.

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

## Se även

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