GetString()

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)

Arguments

ParameterTypeDescription
bytesuint8_t *Buffer to read bytes from.
byte_countintInput buffer size.

Return Value

String of decoded characters.

Encoding::GetString(ArrayPtr<uint8_t>) method

Decodes a buffer of bytes into a string.

virtual String System::Text::Encoding::GetString(ArrayPtr<uint8_t> bytes)

Arguments

ParameterTypeDescription
bytesArrayPtr<uint8_t>Buffer to read bytes from.

Return Value

String of decoded characters.

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)

Arguments

ParameterTypeDescription
bytesconst System::Details::ArrayView<uint8_t>&Buffer to read bytes from.

Return Value

String of decoded characters.

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)

Arguments

ParameterTypeDescription
bytesSystem::Details::StackArray<uint8_t, N>&Buffer to read bytes from.

Return Value

String of decoded characters.

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)

Arguments

ParameterTypeDescription
bytesArrayPtr<uint8_t>Buffer to read bytes from.
indexintInput buffer offset.
countintInput buffer size.

Return Value

String of decoded characters.

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)

Arguments

ParameterTypeDescription
bytesconst System::Details::ArrayView<uint8_t>&Buffer to read bytes from.
indexintInput buffer offset.
countintInput buffer size.

Return Value

String of decoded characters.

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)

Arguments

ParameterTypeDescription
bytesSystem::Details::StackArray<uint8_t, N>Buffer to read bytes from.
indexintInput buffer offset.
countintInput buffer size.

Return Value

String of decoded characters.

See Also