System::Text::ICUEncoder::GetByteCount metod
Innehåll
[
Dölj
]ICUEncoder::GetByteCount(ArrayPtr<char_t>, int, int, bool) method
Hämtar antalet byte som behövs för att koda en buffert.
virtual int System::Text::ICUEncoder::GetByteCount(ArrayPtr<char_t> chars, int index, int count, bool flush)
| Parameter | Type | Beskrivning |
|---|---|---|
| chars | ArrayPtr<char_t> | Tecken att koda. |
| index | int | Buffer förskjutning. |
| count | int | Antal tecken att koda. |
| flush | bool | Om true, rensar det interna kodarens tillstånd efter beräkning. |
ReturnValue
Antal byte som krävs för att koda bufferten.
Se även
- Typedef ArrayPtr
- Class ICUEncoder
- Namespace System::Text
- Library Aspose.Page for C++
ICUEncoder::GetByteCount(const char_t *, int, bool) method
Hämtar antalet byte som behövs för att koda en buffert.
virtual int System::Text::ICUEncoder::GetByteCount(const char_t *chars, int count, bool flush)
| Parameter | Type | Beskrivning |
|---|---|---|
| chars | const char_t * | Tecken att koda. |
| count | int | Antal tecken att koda. |
| flush | bool | Om true, rensar det interna kodarens tillstånd efter beräkning. |
ReturnValue
Antal byte som krävs för att koda bufferten.
Se även
- Class ICUEncoder
- Namespace System::Text
- Library Aspose.Page for C++