C# Class TorrentHardLinkHelper.Common.UriHelper

Afficher le fichier Open project: harrywong/torrenthardlinkhelper

Méthodes publiques

Méthode Description
UrlDecode ( string s ) : byte[]
UrlEncode ( byte bytes ) : string

Private Methods

Méthode Description
GetChar ( string str, int offset, int length ) : int
GetInt ( byte b ) : int
NotEncoded ( char c ) : bool
UrlEncodeChar ( char c, Stream result, bool isUnicode ) : void
WriteCharBytes ( List buf, char ch, Encoding e ) : void

Method Details

UrlDecode() public static méthode

public static UrlDecode ( string s ) : byte[]
s string
Résultat byte[]

UrlEncode() public static méthode

public static UrlEncode ( byte bytes ) : string
bytes byte
Résultat string