Method | Description | |
---|---|---|
Flush ( ) : void |
Flush any changes to the stream.
|
|
GetUnreadBlocks ( ) : List |
Get all of the unread blocks in the stream.
|
|
MarkingStream ( Stream source, bool leaveOpen = false ) : System |
Create the marking stream.
|
|
Read ( byte buffer, int offset, int count ) : int |
Read data from the stream, marking whatever is read as having been so.
|
|
Report ( |
Report unread blocks to the loader as errors.
|
|
Seek ( long offset, SeekOrigin origin ) : long |
Attempt to change the position of the stream.
|
|
SetLength ( long value ) : void |
An invalid operation.
|
|
Write ( byte buffer, int offset, int count ) : void |
Write to the stream.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Dispose of the data.
|
public MarkingStream ( Stream source, bool leaveOpen = false ) : System | ||
source | Stream | The stream to wrap. |
leaveOpen | bool | Whether to leave the stream open on |
return | System |
public Read ( byte buffer, int offset, int count ) : int | ||
buffer | byte | |
offset | int | |
count | int | |
return | int |
public Seek ( long offset, SeekOrigin origin ) : long | ||
offset | long | |
origin | SeekOrigin | |
return | long |
public Write ( byte buffer, int offset, int count ) : void | ||
buffer | byte | |
offset | int | |
count | int | |
return | void |