C# Class System.Text.Encoding.DefaultEncoder

Inheritance: Encoder, ISerializable, IObjectReference
显示文件 Open project: gbarnett/shared-source-cli-2.0

Public Methods

Method Description
DefaultEncoder ( Encoding encoding ) : System
GetByteCount ( char chars, int count, bool flush ) : int
GetByteCount ( char chars, int index, int count, bool flush ) : int
GetBytes ( char chars, int charCount, byte bytes, int byteCount, bool flush ) : int
GetBytes ( char chars, int charIndex, int charCount, byte bytes, int byteIndex, bool flush ) : int
GetRealObject ( StreamingContext context ) : Object

Private Methods

Method Description
DefaultEncoder ( SerializationInfo info, StreamingContext context ) : System
ISerializable ( SerializationInfo info, StreamingContext context ) : void

Method Details

DefaultEncoder() public method

public DefaultEncoder ( Encoding encoding ) : System
encoding Encoding
return System

GetByteCount() public method

public GetByteCount ( char chars, int count, bool flush ) : int
chars char
count int
flush bool
return int

GetByteCount() public method

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

GetBytes() public method

public GetBytes ( char chars, int charCount, byte bytes, int byteCount, bool flush ) : int
chars char
charCount int
bytes byte
byteCount int
flush bool
return int

GetBytes() public method

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

GetRealObject() public method

public GetRealObject ( StreamingContext context ) : Object
context System.Runtime.Serialization.StreamingContext
return Object