C# 클래스 Platform.Text.TextConversion

Provides useful methods for converting text.
파일 보기 프로젝트 열기: platformdotnet/Platform

공개 프로퍼티들

프로퍼티 타입 설명
Base32Alphabet char[]
Base32AlphabetLowercase char[]
HexValues char[]
HexValuesLowercase char[]
SoundexValues char[]

공개 메소드들

메소드 설명
FromBase64CharArray ( char array, int offset, int length ) : byte[]
FromBase64String ( string s ) : byte[]
FromEscapedHexString ( string s ) : string

Decodes a string from an escaped hex string (URL encoded).

FromHex ( char c ) : int
FromHexString ( string s ) : byte[]
IsHexChar ( char c ) : bool
IsStandardUrlEscapedChar ( char c ) : bool
IsStandardUrlUnEscapedChar ( char c ) : bool
ToBase32CharArray ( byte input, int offsetIn, int length, char outArray, int offsetOut ) : int
ToBase32String ( byte input ) : string
ToBase32String ( byte input, int offset, int length ) : string
ToBase32String ( int x ) : string
ToBase32String ( long x ) : string
ToBase64CharArray ( byte input, int offsetIn, int length, char outArray, int offsetOut ) : int
ToBase64String ( byte input ) : string
ToBase64String ( byte input, int offset, int length ) : string
ToEscapedHexString ( string s ) : string
ToEscapedHexString ( string s, Predicate shouldEscapeChar ) : string
ToEscapedHexString ( string s, int>.Predicate shouldEscapeChar ) : string
ToEscapedHexString ( string s, string charsToEscape ) : string
ToHexChar ( byte x ) : char
ToHexChar ( int x ) : char
ToHexChar ( int x, bool lowercase ) : char
ToHexChar ( long x ) : char
ToHexChar ( short x ) : char
ToHexString ( byte bytes ) : string
ToHexString ( byte bytes, bool lowercase ) : string
ToHexString ( int value ) : string
ToHexString ( long value ) : string
ToReEscapedHexString ( string s, Predicate shouldEscape ) : string
ToSoundex ( string value ) : string
WriteEscapedHexString ( TextReader reader, TextWriter writer ) : TextWriter
WriteEscapedHexString ( TextReader reader, TextWriter writer, Predicate shouldEscapeChar ) : TextWriter
WriteSoundex ( TextWriter writer, string value ) : void
WriteUnescapedHexString ( StringReader reader, StringWriter writer ) : TextWriter

비공개 메소드들

메소드 설명
ToHexChar ( int x, char hexValues ) : char
ToHexString ( byte bytes, char hexValues ) : string

메소드 상세

FromBase64CharArray() 공개 정적인 메소드

public static FromBase64CharArray ( char array, int offset, int length ) : byte[]
array char
offset int
length int
리턴 byte[]

FromBase64String() 공개 정적인 메소드

public static FromBase64String ( string s ) : byte[]
s string
리턴 byte[]

FromEscapedHexString() 공개 정적인 메소드

Decodes a string from an escaped hex string (URL encoded).
public static FromEscapedHexString ( string s ) : string
s string The escaped hex encoded string
리턴 string

FromHex() 공개 정적인 메소드

public static FromHex ( char c ) : int
c char
리턴 int

FromHexString() 공개 정적인 메소드

public static FromHexString ( string s ) : byte[]
s string
리턴 byte[]

IsHexChar() 공개 정적인 메소드

public static IsHexChar ( char c ) : bool
c char
리턴 bool

IsStandardUrlEscapedChar() 공개 정적인 메소드

public static IsStandardUrlEscapedChar ( char c ) : bool
c char
리턴 bool

IsStandardUrlUnEscapedChar() 공개 정적인 메소드

public static IsStandardUrlUnEscapedChar ( char c ) : bool
c char
리턴 bool

ToBase32CharArray() 공개 정적인 메소드

public static ToBase32CharArray ( byte input, int offsetIn, int length, char outArray, int offsetOut ) : int
input byte
offsetIn int
length int
outArray char
offsetOut int
리턴 int

ToBase32String() 공개 정적인 메소드

public static ToBase32String ( byte input ) : string
input byte
리턴 string

ToBase32String() 공개 정적인 메소드

public static ToBase32String ( byte input, int offset, int length ) : string
input byte
offset int
length int
리턴 string

ToBase32String() 공개 정적인 메소드

public static ToBase32String ( int x ) : string
x int
리턴 string

ToBase32String() 공개 정적인 메소드

public static ToBase32String ( long x ) : string
x long
리턴 string

ToBase64CharArray() 공개 정적인 메소드

public static ToBase64CharArray ( byte input, int offsetIn, int length, char outArray, int offsetOut ) : int
input byte
offsetIn int
length int
outArray char
offsetOut int
리턴 int

ToBase64String() 공개 정적인 메소드

public static ToBase64String ( byte input ) : string
input byte
리턴 string

ToBase64String() 공개 정적인 메소드

public static ToBase64String ( byte input, int offset, int length ) : string
input byte
offset int
length int
리턴 string

ToEscapedHexString() 공개 정적인 메소드

public static ToEscapedHexString ( string s ) : string
s string
리턴 string

ToEscapedHexString() 공개 정적인 메소드

public static ToEscapedHexString ( string s, Predicate shouldEscapeChar ) : string
s string
shouldEscapeChar Predicate
리턴 string

ToEscapedHexString() 공개 정적인 메소드

public static ToEscapedHexString ( string s, int>.Predicate shouldEscapeChar ) : string
s string
shouldEscapeChar int>.Predicate
리턴 string

ToEscapedHexString() 공개 정적인 메소드

public static ToEscapedHexString ( string s, string charsToEscape ) : string
s string
charsToEscape string
리턴 string

ToHexChar() 공개 정적인 메소드

public static ToHexChar ( byte x ) : char
x byte
리턴 char

ToHexChar() 공개 정적인 메소드

public static ToHexChar ( int x ) : char
x int
리턴 char

ToHexChar() 공개 정적인 메소드

public static ToHexChar ( int x, bool lowercase ) : char
x int
lowercase bool
리턴 char

ToHexChar() 공개 정적인 메소드

public static ToHexChar ( long x ) : char
x long
리턴 char

ToHexChar() 공개 정적인 메소드

public static ToHexChar ( short x ) : char
x short
리턴 char

ToHexString() 공개 정적인 메소드

public static ToHexString ( byte bytes ) : string
bytes byte
리턴 string

ToHexString() 공개 정적인 메소드

public static ToHexString ( byte bytes, bool lowercase ) : string
bytes byte
lowercase bool
리턴 string

ToHexString() 공개 정적인 메소드

public static ToHexString ( int value ) : string
value int
리턴 string

ToHexString() 공개 정적인 메소드

public static ToHexString ( long value ) : string
value long
리턴 string

ToReEscapedHexString() 공개 정적인 메소드

public static ToReEscapedHexString ( string s, Predicate shouldEscape ) : string
s string
shouldEscape Predicate
리턴 string

ToSoundex() 공개 정적인 메소드

public static ToSoundex ( string value ) : string
value string
리턴 string

WriteEscapedHexString() 공개 정적인 메소드

public static WriteEscapedHexString ( TextReader reader, TextWriter writer ) : TextWriter
reader TextReader
writer System.IO.TextWriter
리턴 System.IO.TextWriter

WriteEscapedHexString() 공개 정적인 메소드

public static WriteEscapedHexString ( TextReader reader, TextWriter writer, Predicate shouldEscapeChar ) : TextWriter
reader TextReader
writer System.IO.TextWriter
shouldEscapeChar Predicate
리턴 System.IO.TextWriter

WriteSoundex() 공개 정적인 메소드

public static WriteSoundex ( TextWriter writer, string value ) : void
writer System.IO.TextWriter
value string
리턴 void

WriteUnescapedHexString() 공개 정적인 메소드

public static WriteUnescapedHexString ( StringReader reader, StringWriter writer ) : TextWriter
reader System.IO.StringReader
writer System.IO.StringWriter
리턴 System.IO.TextWriter

프로퍼티 상세

Base32Alphabet 공개적으로 정적으로 프로퍼티

public static char[] Base32Alphabet
리턴 char[]

Base32AlphabetLowercase 공개적으로 정적으로 프로퍼티

public static char[] Base32AlphabetLowercase
리턴 char[]

HexValues 공개적으로 정적으로 프로퍼티

public static char[] HexValues
리턴 char[]

HexValuesLowercase 공개적으로 정적으로 프로퍼티

public static char[] HexValuesLowercase
리턴 char[]

SoundexValues 공개적으로 정적으로 프로퍼티

public static char[] SoundexValues
리턴 char[]