Метод | Описание | |
---|---|---|
BoundInputStream ( Stream stream, int length, bool skip_underlying, bool close_underlying ) : System |
|
|
Close ( ) : void |
closes the stream
|
|
Flush ( ) : void |
Not supported
|
|
Read ( byte data, int offset, int count ) : int |
see Stream.Read for reference. will not read passed the predetermined length
|
|
Seek ( long offset, SeekOrigin origin ) : long |
Not supported
|
|
SetLength ( long value ) : void |
Not supported
|
|
Skip ( int count ) : int |
skips `count` bytes
|
|
Write ( byte buffer, int offset, int count ) : void |
Not supported
|
public BoundInputStream ( Stream stream, int length, bool skip_underlying, bool close_underlying ) : System | ||
stream | Stream | the underlying stream |
length | int | the length of the substream |
skip_underlying | bool | whether to skip all unread data /// when closed |
close_underlying | bool | whether to close the underlying /// stream when this stream is closed |
Результат | System |
public Read ( byte data, int offset, int count ) : int | ||
data | byte | |
offset | int | |
count | int | |
Результат | int |
public Seek ( long offset, SeekOrigin origin ) : long | ||
offset | long | |
origin | SeekOrigin | |
Результат | long |
public Skip ( int count ) : int | ||
count | int | the number of bytes to skip. if negative, skip /// all the way to the end of stream |
Результат | int |
public Write ( byte buffer, int offset, int count ) : void | ||
buffer | byte | |
offset | int | |
count | int | |
Результат | void |