C# Class SharpCifs.Util.Sharpen.RandomAccessFile

Exibir arquivo Open project: brandonprry/Potato

Public Methods

Method Description
Close ( ) : void
GetFilePointer ( ) : long
Length ( ) : long
RandomAccessFile ( FilePath file, string mode ) : System
RandomAccessFile ( string file, string mode ) : System
Read ( byte buffer ) : int
Read ( byte buffer, int start, int size ) : int
ReadFully ( byte buffer, int start, int size ) : void
Seek ( long pos ) : void
SetLength ( long len ) : void
Write ( byte buffer ) : void
Write ( byte buffer, int start, int size ) : void
Write ( int value ) : void

Method Details

Close() public method

public Close ( ) : void
return void

GetFilePointer() public method

public GetFilePointer ( ) : long
return long

Length() public method

public Length ( ) : long
return long

RandomAccessFile() public method

public RandomAccessFile ( FilePath file, string mode ) : System
file FilePath
mode string
return System

RandomAccessFile() public method

public RandomAccessFile ( string file, string mode ) : System
file string
mode string
return System

Read() public method

public Read ( byte buffer ) : int
buffer byte
return int

Read() public method

public Read ( byte buffer, int start, int size ) : int
buffer byte
start int
size int
return int

ReadFully() public method

public ReadFully ( byte buffer, int start, int size ) : void
buffer byte
start int
size int
return void

Seek() public method

public Seek ( long pos ) : void
pos long
return void

SetLength() public method

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

Write() public method

public Write ( byte buffer ) : void
buffer byte
return void

Write() public method

public Write ( byte buffer, int start, int size ) : void
buffer byte
start int
size int
return void

Write() public method

public Write ( int value ) : void
value int
return void