Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ UrlEncode() [2/2]

static byte[] System.Web.Util.HttpEncoder.UrlEncode ( byte[] bytes,
int offset,
int count,
bool alwaysCreateNewReturnValue )
inlinestaticpackage

Definition at line 450 of file HttpEncoder.cs.

451 {
452 byte[] array = UrlEncode(bytes, offset, count);
453 if (!alwaysCreateNewReturnValue || array == null || array != bytes)
454 {
455 return array;
456 }
457 return (byte[])array.Clone();
458 }
static byte[] UrlEncode(byte[] bytes, int offset, int count, bool alwaysCreateNewReturnValue)

References System.array, System.bytes, System.count, System.offset, and System.Web.Util.HttpEncoder.UrlEncode().

Referenced by System.Web.Util.HttpEncoder.UrlEncode(), System.Web.HttpUtility.UrlEncodeToBytes(), and System.Web.HttpUtility.UrlEncodeToBytes().