데이터 디코딩(HTML)

[ 이 문서는 Windows 런타임 앱을 작성하는 Windows에서 8.x 및 Windows Phone 8.x 개발자를 대상으로 합니다. Windows 10용으로 개발하는 경우에는 최신 설명서를 참조하세요.]

다음 예제에서는 decodeFromBase64String 메서드를 사용하는 방법을 보여 줍니다.


function DecodeData( stringToDecrypt )
{

    try {

        // Decode from a base64 string.
        var inputDataBuffer = Windows.Security.Cryptography.CryptographicBuffer.decodeFromBase64String(stringToDecrypt);

    }
    catch ( ) {

        // Handle the error.
    }
}