System::Text::Encoding::GetString method

Encoding::GetString(uint8_t *, int) method

Decodes a buffer of bytes into a string.

virtual String System::Text::Encoding::GetString(uint8_t *bytes, int byte_count)
ParameterTypeDescription
bytesuint8_t *Buffer to read bytes from.
byte_countintInput buffer size.

ReturnValue

String of decoded characters.

See Also

Encoding::GetString(ArrayPtr<uint8_t>) method

Decodes a buffer of bytes into a string.

virtual String System::Text::Encoding::GetString(ArrayPtr<uint8_t> bytes)
ParameterTypeDescription
bytesArrayPtr<uint8_t>Buffer to read bytes from.

ReturnValue

String of decoded characters.

See Also

Encoding::GetString(const System::Details::ArrayView<uint8_t>&) method

Decodes a buffer of bytes into a string.

virtual String System::Text::Encoding::GetString(const System::Details::ArrayView<uint8_t> &bytes)
ParameterTypeDescription
bytesconst System::Details::ArrayView<uint8_t>&Buffer to read bytes from.

ReturnValue

String of decoded characters.

See Also

Encoding::GetString(System::Details::StackArray<uint8_t, N>&) method

Decodes a buffer of bytes into a string.

template<std::size_t> String System::Text::Encoding::GetString(System::Details::StackArray<uint8_t, N> &bytes)
ParameterTypeDescription
bytesSystem::Details::StackArray<uint8_t, N>&Buffer to read bytes from.

ReturnValue

String of decoded characters.

See Also

Encoding::GetString(ArrayPtr<uint8_t>, int, int) method

Decodes a buffer of bytes into a string.

virtual String System::Text::Encoding::GetString(ArrayPtr<uint8_t> bytes, int index, int count)
ParameterTypeDescription
bytesArrayPtr<uint8_t>Buffer to read bytes from.
indexintInput buffer offset.
countintInput buffer size.

ReturnValue

String of decoded characters.

See Also

Encoding::GetString(const System::Details::ArrayView<uint8_t>&, int, int) method

Decodes a buffer of bytes into a string.

virtual String System::Text::Encoding::GetString(const System::Details::ArrayView<uint8_t> &bytes, int index, int count)
ParameterTypeDescription
bytesconst System::Details::ArrayView<uint8_t>&Buffer to read bytes from.
indexintInput buffer offset.
countintInput buffer size.

ReturnValue

String of decoded characters.

See Also

Encoding::GetString(System::Details::StackArray<uint8_t, N>, int, int) method

Decodes a buffer of bytes into a string.

template<std::size_t> String System::Text::Encoding::GetString(System::Details::StackArray<uint8_t, N> bytes, int index, int count)
ParameterTypeDescription
bytesSystem::Details::StackArray<uint8_t, N>Buffer to read bytes from.
indexintInput buffer offset.
countintInput buffer size.

ReturnValue

String of decoded characters.

See Also