WebUtility.UrlDecodeToBytes(Byte[], Int32, Int32) 메서드

정의

URL에서 전송을 위해 인코딩된 바이트 문자열을 디코딩된 바이트 배열로 변환합니다.

public:
 static cli::array <System::Byte> ^ UrlDecodeToBytes(cli::array <System::Byte> ^ encodedValue, int offset, int count);
public static byte[] UrlDecodeToBytes (byte[] encodedValue, int offset, int count);
public static byte[]? UrlDecodeToBytes (byte[]? encodedValue, int offset, int count);
static member UrlDecodeToBytes : byte[] * int * int -> byte[]
Public Shared Function UrlDecodeToBytes (encodedValue As Byte(), offset As Integer, count As Integer) As Byte()

매개 변수

encodedValue
Byte[]

디코딩할 URL 인코딩된 Byte 배열입니다.

offset
Int32

디코딩할 Byte 배열의 시작 부분부터의 오프셋(바이트)입니다.

count
Int32

Byte 배열에서 디코딩할 개수입니다(바이트 단위).

반환

Byte[]

디코딩된 Byte 문자열입니다.

설명

공백 및 문장 부호와 같은 문자가 HTTP 스트림에 전달되면 수신 끝에서 잘못 해석될 수 있습니다. URL 인코딩은 URL에서 허용되지 않는 문자를 동등한 16진수 이스케이프 시퀀스로 변환합니다. 메서드는 UrlEncodeToBytes URL로 인코딩된 바이트 배열을 만듭니다.

URL 디코딩은 16진수 이스케이프 시퀀스를 해당하는 ASCII 문자로 바꿉니다. 예를 들어 URL로 인코딩된 텍스트 블록에 포함된 경우 이스케이프 시퀀스와 %3c%3e 는 및 >문자 < 로 디코딩됩니다.

적용 대상