C# Class NVaporWare.FirmwareStream

Inheritance: Stream
显示文件 Open project: bitterskittles/NVaporWare Class Usage Examples

Public Methods

Method Description
FirmwareStream ( Stream stream, byte key ) : System
FirmwareStream ( Stream stream, byte key, bool leaveOpen ) : System
FirmwareStream ( Stream stream, byte key, int startOffset ) : System
FirmwareStream ( Stream stream, byte key, int startOffset, bool leaveOpen ) : System
Flush ( ) : void
GetKey ( ) : byte[]
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

Private Methods

Method Description
ObjectInvariant ( ) : void

Method Details

Dispose() protected method

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

FirmwareStream() public method

public FirmwareStream ( Stream stream, byte key ) : System
stream Stream
key byte
return System

FirmwareStream() public method

public FirmwareStream ( Stream stream, byte key, bool leaveOpen ) : System
stream Stream
key byte
leaveOpen bool
return System

FirmwareStream() public method

public FirmwareStream ( Stream stream, byte key, int startOffset ) : System
stream Stream
key byte
startOffset int
return System

FirmwareStream() public method

public FirmwareStream ( Stream stream, byte key, int startOffset, bool leaveOpen ) : System
stream Stream
key byte
startOffset int
leaveOpen bool
return System

Flush() public method

public Flush ( ) : void
return void

GetKey() public method

public GetKey ( ) : byte[]
return byte[]

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