接口 BinaryStream
-
- 所有已知实现类:
BinaryStreamImpl
public interface BinaryStreamWraps a binary stream to also provide the length which is needed when binding.- 作者:
- Steve Ebersole
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 byte[]getBytes()Access to the bytes.InputStreamgetInputStream()Retrieve the input stream.longgetLength()Retrieve the length of the input streamvoidrelease()Release any underlying resources.
-
-
-
方法详细资料
-
getInputStream
InputStream getInputStream()
Retrieve the input stream.- 返回:
- The input stream
-
getBytes
byte[] getBytes()
Access to the bytes.- 返回:
- The bytes.
-
getLength
long getLength()
Retrieve the length of the input stream- 返回:
- The input stream length
-
release
void release()
Release any underlying resources.
-
-