StringBuilderExtensionAppendUrlEncoded(StringBuilder, Byte) Method
Appends the content of a
Byte array as URL-encoded character
sequence to the end of a
StringBuilder.
Namespace: FolkerKinzel.StringsAssembly: FolkerKinzel.Strings (in FolkerKinzel.Strings.dll) Version: 9.4.0+10a7d4d71aa960998e32ac0ac6c4fcbe4164c917
public static StringBuilder AppendUrlEncoded(
this StringBuilder builder,
byte[]? bytes
)
<ExtensionAttribute>
Public Shared Function AppendUrlEncoded (
builder As StringBuilder,
bytes As Byte()
) As StringBuilder
public:
[ExtensionAttribute]
static StringBuilder^ AppendUrlEncoded(
StringBuilder^ builder,
array<unsigned char>^ bytes
)
[<ExtensionAttribute>]
static member AppendUrlEncoded :
builder : StringBuilder *
bytes : byte[] -> StringBuilder
- builder StringBuilder
- The StringBuilder to which the characters are
appended.
- bytes Byte
- The Byte array that contains the data, or null.
StringBuilderA reference to
builder after the append operation has
completed.In Visual Basic and C#, you can call this method as an instance method on any object of type
StringBuilder. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
The method treats all
Bytes in
bytes
as 8-Bit characters and replaces all of them - except unreserved RFC 3986 characters
- with their hexadecimal representation.