C# Class DotNetIO.FileSystems.FileStreamDouble

Inheritance: Stream
显示文件 Open project: DotNetIO/DotNetIO

Public Methods

Method Description
AsRead ( ) : FileStreamDouble
AsReadWrite ( ) : FileStreamDouble
AsWrite ( ) : FileStreamDouble
Close ( ) : void
FileStreamDouble ( Stream innerStream, System.Action onClose ) : System
Flush ( ) : void
Read ( byte buffer, int offset, int count ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
Write ( byte buffer, int offset, int count ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Method Details

AsRead() public method

public AsRead ( ) : FileStreamDouble
return FileStreamDouble

AsReadWrite() public method

public AsReadWrite ( ) : FileStreamDouble
return FileStreamDouble

AsWrite() public method

public AsWrite ( ) : FileStreamDouble
return FileStreamDouble

Close() public method

public Close ( ) : void
return void

Dispose() protected method

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

FileStreamDouble() public method

public FileStreamDouble ( Stream innerStream, System.Action onClose ) : System
innerStream Stream
onClose System.Action
return System

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

Seek() public method

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
return long

SetLength() public method

public SetLength ( long value ) : void
value long
return void

Write() public method

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