C# Class System.ConsolePal.WindowsConsoleStream

Inheritance: System.IO.ConsoleStream
显示文件 Open project: dotnet/corefx

Public Methods

Method Description
Flush ( ) : void
Read ( byte buffer, int offset, int count ) : int
Write ( byte buffer, int offset, int count ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
ReadFileNative ( IntPtr hFile, byte bytes, int offset, int count, bool isPipe, int &bytesRead, bool useFileAPIs ) : int
WindowsConsoleStream ( IntPtr handle, FileAccess access, bool useFileAPIs ) : System.IO
WriteFileNative ( IntPtr hFile, byte bytes, int offset, int count, bool useFileAPIs ) : int

Method Details

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Flush() public method

public Flush ( ) : void
return void

Read() public method

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
return int

Write() public method

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
return void