你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
NetworkInputStream 类
- java.
lang. Object - InputStream
- com.
microsoft. azure. storage. core. NetworkInputStream
- com.
public class NetworkInputStream
保留供内部使用。
构造函数摘要
构造函数 | 说明 |
---|---|
NetworkInputStream(InputStream stream, long expectedLength) |
创建 NetworkInputStream 并保存其参数、输入流和预期长度,供以后使用。 |
方法摘要
修饰符和类型 | 方法和描述 |
---|---|
void | close() |
int | read() |
int | read(byte[] b, int off, int len) |
构造函数详细信息
NetworkInputStream
public NetworkInputStream(InputStream stream, long expectedLength)
创建 NetworkInputStream 并保存其参数、输入流和预期长度,供以后使用。
参数:
stream
expectedLength
方法详细信息
close
public void close()
read
public int read()
read
public int read(byte[] b, int off, int len)
参数:
b
off
len