Method | Description | |
---|---|---|
Close ( ) : void |
Closes the stream.
|
|
CrcCalculatorStream ( System stream ) : System |
The default constructor. Instances returned from this constructor will leave the underlying stream open upon Close(). |
|
CrcCalculatorStream ( System stream, System.Int64 length ) : System |
A constructor allowing the specification of the length of the stream to read. Instances returned from this constructor will leave the underlying stream open upon Close(). |
|
CrcCalculatorStream ( System stream, System.Int64 length, bool leaveOpen ) : System |
A constructor allowing the specification of the length of the stream to read, as well as whether to keep the underlying stream open upon Close().
|
|
CrcCalculatorStream ( System stream, bool leaveOpen ) : System |
The constructor allows the caller to specify how to handle the underlying stream at close.
|
|
Flush ( ) : void |
Flush the stream.
|
|
Read ( byte buffer, int offset, int count ) : int |
Read from the stream
|
|
Seek ( long offset, System origin ) : long |
Not implemented.
|
|
SetLength ( long value ) : void |
Not implemented.
|
|
Write ( byte buffer, int offset, int count ) : void |
Write to the stream.
|
Method | Description | |
---|---|---|
CrcCalculatorStream ( bool leaveOpen, System.Int64 length, System stream ) : System | ||
IDisposable ( ) : void |
public CrcCalculatorStream ( System stream ) : System | ||
stream | System | The underlying stream |
return | System |
public CrcCalculatorStream ( System stream, System.Int64 length ) : System | ||
stream | System | The underlying stream |
length | System.Int64 | The length of the stream to slurp |
return | System |
public CrcCalculatorStream ( System stream, System.Int64 length, bool leaveOpen ) : System | ||
stream | System | The underlying stream |
length | System.Int64 | The length of the stream to slurp |
leaveOpen | bool | true to leave the underlying stream /// open upon close of the CrcCalculatorStream.; false otherwise. |
return | System |
public CrcCalculatorStream ( System stream, bool leaveOpen ) : System | ||
stream | System | The underlying stream |
leaveOpen | bool | true to leave the underlying stream /// open upon close of the CrcCalculatorStream.; false otherwise. |
return | System |
public Read ( byte buffer, int offset, int count ) : int | ||
buffer | byte | the buffer to read |
offset | int | the offset at which to start |
count | int | the number of bytes to read |
return | int |
public Seek ( long offset, System origin ) : long | ||
offset | long | N/A |
origin | System | N/A |
return | long |
public Write ( byte buffer, int offset, int count ) : void | ||
buffer | byte | the buffer from which to write |
offset | int | the offset at which to start writing |
count | int | the number of bytes to write |
return | void |