Method | Description | |
---|---|---|
Available ( ) : int |
This stream class is unbuffered. This stream class is unbuffered. Therefore this method will always return 0 for streams connected to regular files. However, a stream created from a Named Pipe this method will query the server using a "peek named pipe" operation and return the number of available bytes on the server. |
|
Close ( ) : void |
Closes this input stream and releases any system resources associated with the stream. Closes this input stream and releases any system resources associated with the stream. |
|
Read ( ) : int |
Reads a byte of data from this input stream. Reads a byte of data from this input stream. |
|
Read ( byte b ) : int |
Reads up to b.length bytes of data from this input stream into an array of bytes. Reads up to b.length bytes of data from this input stream into an array of bytes. |
|
Read ( byte b, int off, int len ) : int |
Reads up to len bytes of data from this input stream into an array of bytes. Reads up to len bytes of data from this input stream into an array of bytes. |
|
ReadDirect ( byte b, int off, int len ) : int | ||
Skip ( long n ) : long |
Skip n bytes of data on this stream. Skip n bytes of data on this stream. This operation will not result in any IO with the server. Unlink InputStream value less than the one provided will not be returned if it exceeds the end of the file (if this is a problem let us know). |
|
SmbFileInputStream ( |
Creates an
|
|
SmbFileInputStream ( string url ) : System |
Creates an
|
Method | Description | |
---|---|---|
SeToIoe ( |
Method | Description | |
---|---|---|
SmbFileInputStream ( |
public Read ( byte b, int off, int len ) : int | ||
b | byte | |
off | int | |
len | int | |
return | int |
public ReadDirect ( byte b, int off, int len ) : int | ||
b | byte | |
off | int | |
len | int | |
return | int |
protected SeToIoe ( |
||
se | ||
return |
public SmbFileInputStream ( |
||
file | An SmbFile specifying the file to read from |
|
return | System |
public SmbFileInputStream ( string url ) : System | ||
url | string | An smb URL string representing the file to read from |
return | System |