System::Text::ICUEncoding::GetCharCount method

ICUEncoding::GetCharCount(ArrayPtr<uint8_t>) method

Get the number of characters needed to decode a byte buffer.

virtual int System::Text::Encoding::GetCharCount(ArrayPtr<uint8_t> bytes)
ParameterTypeDescription
bytesArrayPtr<uint8_t>Bytes to decode.

ReturnValue

Number of characters.

See Also

ICUEncoding::GetCharCount(ArrayPtr<uint8_t>, int, int) method

Get the number of characters needed to decode a byte buffer.

virtual int System::Text::Encoding::GetCharCount(ArrayPtr<uint8_t> bytes, int index, int count)
ParameterTypeDescription
bytesArrayPtr<uint8_t>Bytes to decode.
indexintSlice beginning.
countintSlice size.

ReturnValue

Number of characters.

See Also

ICUEncoding::GetCharCount(const uint8_t *, int) method

Get the number of characters needed to decode a byte buffer.

int System::Text::ICUEncoding::GetCharCount(const uint8_t *bytes, int count) override
ParameterTypeDescription
bytesconst uint8_t *Bytes to decode.
countintBytes count.

ReturnValue

Number of characters.

See Also