Class ProtonBufferInputStream

java.lang.Object
java.io.InputStream
org.apache.qpid.protonj2.buffer.ProtonBufferInputStream
All Implemented Interfaces:
Closeable, DataInput, AutoCloseable

public class ProtonBufferInputStream extends InputStream implements DataInput
An InputStream that can be used to adapt a ProtonBuffer for use in the standard streams API. This stream wrapper assumes ownership of the provided stream and will close it upon a call to the close() method.