System::Text::ICUEncoder::GetBytes-metod
Innehåll
[
Dölj
]ICUEncoder::GetBytes(ArrayPtr<char_t>, int, int, ArrayPtr<uint8_t>, int, bool) method
Hämta de byte som resultat av att koda en buffert.
virtual int System::Text::ICUEncoder::GetBytes(ArrayPtr<char_t> chars, int charIndex, int charCount, ArrayPtr<uint8_t> bytes, int byteIndex, bool flush)
| Parameter | Type | Beskrivning |
|---|---|---|
| chars | ArrayPtr<char_t> | Tecken att koda. |
| charIndex | int | Källarray‑offset. |
| charCount | int | Källsubarray‑längd. |
| bytes | ArrayPtr<uint8_t> | Destinationsbyte‑buffert. |
| byteIndex | int | Destinationsbuffer‑offset. |
| flush | bool | Om true, rensar det interna kodarens tillstånd efter beräkning. |
ReturnValue
Antal byte skrivna.
Se även
- Typedef ArrayPtr
- Class ICUEncoder
- Namespace System::Text
- Library Aspose.Page for C++
ICUEncoder::GetBytes(const char_t *, int, uint8_t *, int, bool) method
Hämta de byte som resultat av att koda en buffert.
virtual int System::Text::ICUEncoder::GetBytes(const char_t *chars, int charCount, uint8_t *bytes, int byteCount, bool flush)
| Parameter | Type | Beskrivning |
|---|---|---|
| chars | const char_t * | Tecken att koda. |
| charCount | int | Källarray‑längd. |
| bytes | uint8_t * | Destinationsbyte‑buffert. |
| byteCount | int | Destinationsbuffer‑storlek. |
| flush | bool | Om true, rensar det interna kodarens tillstånd efter beräkning. |
ReturnValue
Antal byte skrivna.
Se även
- Class ICUEncoder
- Namespace System::Text
- Library Aspose.Page for C++