C# Class Fan.Sys.MmapBuf

MmapBuf returned from File.mmap
Inheritance: Buf
Show file Open project: xored/f4

Public Methods

Method Description
@typeof ( ) : Type
Dispose ( ) : void
capacity ( ) : long
capacity ( long x ) : void
close ( ) : bool
flush ( ) : Buf
toDigest ( string algorithm ) : Buf
toHex ( ) : string

Private Methods

Method Description
CloseHandle ( System.IntPtr hObject ) : int
CreateFileMapping ( System.IntPtr hFile, int lpAttributes, FileProtection flProtect, uint dwMaximumSizeHigh, uint dwMaximumSizeLow, string lpName ) : System.IntPtr
MapViewOfFile ( System.IntPtr hFileMappingObject, FileRights dwDesiredAccess, uint dwFileOffsetHigh, uint dwFileOffsetLow, uint dwNumberOfBytesToMap ) : System.IntPtr
MmapBuf ( File file, string mode, long pos, Long size ) : System.IO
OpenFileMapping ( FileRights dwDesiredAccess, bool bInheritHandle, string lpName ) : System.IntPtr
UnmapViewOfFile ( System.IntPtr map ) : bool
getByte ( long pos ) : int
getBytes ( long pos, byte dst, int off, int len ) : void
getPos ( ) : long
getSize ( ) : long
open ( string name, string mode, bool existing, uint size ) : void
pipeFrom ( FileStream src, long lenLong ) : long
pipeFrom ( Stream src, long lenLong ) : long
pipeFrom ( byte src, int srcPos, int len ) : void
pipeTo ( FileStream dst, long lenLong ) : void
pipeTo ( Stream dst, long lenLong ) : 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

Dispose() public method

public Dispose ( ) : void
return void

capacity() public final method

public final capacity ( ) : long
return long

capacity() public method

public capacity ( long x ) : void
x long
return void

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