C# Class Fan.Sys.FileBuf

FileBuf returned from File.open.
Inheritance: Buf
Show file Open project: xored/f4 Class Usage Examples

Public Methods

Method Description
@typeof ( ) : Type
close ( ) : bool
flush ( ) : Buf
toDigest ( string algorithm ) : Buf
toHex ( ) : string

Private Methods

Method Description
FileBuf ( File file, FileStream stream ) : System.IO
getByte ( long pos ) : int
getBytes ( long pos, byte dst, int off, int len ) : void
getPos ( ) : long
getSize ( ) : long
pipeFrom ( Stream src, long len ) : long
pipeFrom ( byte src, int srcPos, int len ) : void
pipeTo ( Stream dst, long len ) : void
pipeTo ( byte dst, int dstPos, int len ) : void
setByte ( long pos, int x ) : void
setPos ( long x ) : void
setSize ( long x ) : void
temp ( ) : byte[]

Method Details

@typeof() public method

public @typeof ( ) : Type
return Type

close() public final method

public final close ( ) : bool
return bool

flush() public final method

public final flush ( ) : Buf
return Buf

toDigest() public method

public toDigest ( string algorithm ) : Buf
algorithm string
return Buf

toHex() public final method

public final toHex ( ) : string
return string