C# Class System.Text.Base64Encoding

Inheritance: Encoding
显示文件 Open project: dotnet/corefx Class Usage Examples

Public Methods

Method Description
GetByteCount ( char chars, int index, int count ) : int
GetBytes ( byte chars, int charIndex, int charCount, byte bytes, int byteIndex ) : int
GetBytes ( char chars, int charIndex, int charCount, byte bytes, int byteIndex ) : int
GetCharCount ( byte bytes, int index, int count ) : int
GetChars ( byte bytes, int byteIndex, int byteCount, byte chars, int charIndex ) : int
GetChars ( byte bytes, int byteIndex, int byteCount, char chars, int charIndex ) : int
GetMaxByteCount ( int charCount ) : int
GetMaxCharCount ( int byteCount ) : int

Private Methods

Method Description
IsValidLeadBytes ( int v1, int v2, int v3, int v4 ) : bool
IsValidTailBytes ( int v3, int v4 ) : bool

Method Details

GetByteCount() public method

public GetByteCount ( char chars, int index, int count ) : int
chars char
index int
count int
return int

GetBytes() public method

public GetBytes ( byte chars, int charIndex, int charCount, byte bytes, int byteIndex ) : int
chars byte
charIndex int
charCount int
bytes byte
byteIndex int
return int

GetBytes() public method

public GetBytes ( char chars, int charIndex, int charCount, byte bytes, int byteIndex ) : int
chars char
charIndex int
charCount int
bytes byte
byteIndex int
return int

GetCharCount() public method

public GetCharCount ( byte bytes, int index, int count ) : int
bytes byte
index int
count int
return int

GetChars() public method

public GetChars ( byte bytes, int byteIndex, int byteCount, byte chars, int charIndex ) : int
bytes byte
byteIndex int
byteCount int
chars byte
charIndex int
return int

GetChars() public method

public GetChars ( byte bytes, int byteIndex, int byteCount, char chars, int charIndex ) : int
bytes byte
byteIndex int
byteCount int
chars char
charIndex int
return int

GetMaxByteCount() public method

public GetMaxByteCount ( int charCount ) : int
charCount int
return int

GetMaxCharCount() public method

public GetMaxCharCount ( int byteCount ) : int
byteCount int
return int