接口 BinaryStream

  • 所有已知实现类:
    BinaryStreamImpl

    public interface BinaryStream
    Wraps a binary stream to also provide the length which is needed when binding.
    作者:
    Steve Ebersole
    • 方法详细资料

      • 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.