UrlEncodingEncode(ReadOnlySpan`1Byte) Method

Converts a read-only span of Bytes to its url-encoded representation.

Definition

Namespace: FolkerKinzel.Strings
Assembly: FolkerKinzel.Strings (in FolkerKinzel.Strings.dll) Version: 9.4.0+10a7d4d71aa960998e32ac0ac6c4fcbe4164c917
C#
public static string Encode(
	ReadOnlySpan<byte> bytesToEncode
)

Parameters

bytesToEncode  ReadOnlySpanByte
The span to encode.

Return Value

String
The url-encoded representation of bytesToEncode.

See Also