C# Class Sharpen.RandomAccessFile

Show file Open project: oganix/NBoilerpipe Class Usage Examples

Public Methods

Method Description
Close ( ) : void
GetChannel ( ) : FileChannel
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

Method Details

Close() public method

public Close ( ) : void
return void

GetChannel() public method

public GetChannel ( ) : FileChannel
return FileChannel

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