System::Text::Encoding::GetCharCount method

Encoding::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

Encoding::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

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

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

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

ReturnValue

Number of characters.

See Also