## Encoder::GetByteCount(ArrayPtr\<char_t\>, int, int, bool) method


버퍼를 인코딩하는 데 필요한 바이트 수를 가져옵니다.

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


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| chars | ArrayPtr\<char_t\> | 인코드할 문자. |
| index | int | [Buffer](../../../system/buffer/) 오프셋. |
| count | int | 인코딩할 문자 수. |
| flush | bool | true이면 계산 후 내부 인코더 상태를 정리합니다. |

### ReturnValue

버퍼를 인코딩하는 데 필요한 바이트 수.

## 또 보기

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


버퍼를 인코딩하는 데 필요한 바이트 수를 가져옵니다.

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


| 매개변수 | 형식 | 설명 |
| --- | --- | --- |
| chars | const char_t * | 인코드할 문자. |
| count | int | 인코딩할 문자 수. |
| flush | bool | true이면 계산 후 내부 인코더 상태를 정리합니다. |

### ReturnValue

버퍼를 인코딩하는 데 필요한 바이트 수.

## 또 보기

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