NetworkInputStream Class
- java.
lang. Object - InputStream
- com.
microsoft. azure. storage. core. NetworkInputStream
- com.
public class NetworkInputStream
RESERVED FOR INTERNAL USE.
Constructor Summary
Constructor | Description |
---|---|
NetworkInputStream(InputStream stream, long expectedLength) |
Creates a NetworkInputStream and saves its arguments, the input stream and expected length, for later use. |
Method Summary
Modifier and Type | Method and Description |
---|---|
void | close() |
int | read() |
int | read(byte[] b, int off, int len) |
Constructor Details
NetworkInputStream
public NetworkInputStream(InputStream stream, long expectedLength)
Creates a NetworkInputStream and saves its arguments, the input stream and expected length, for later use.
Parameters:
stream
expectedLength
Method Details
close
public void close()
read
public int read()
read
public int read(byte[] b, int off, int len)
Parameters:
b
off
len
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java