MultiByteBufferInputStream
Class name: com.datashyft.core.model.util.MultiByteBufferInputStream
An InputStream implementation that sits on top of a MultiByteBuffer. The MultiByteBufferInputStream is given a MultiByteBuffer in its constructor. The data in the MultiByteBuffer can then be read out using the InputStream. The InputStream starts reading from the current position of the MultiByteBuffer and will advance the position in the underlying MultiByteBuffer when data is read.
public MultiByteBufferInputStream(MultiByteBuffer multiByteBuffer)
Offers the ability to read data from the given MultiByteBuffer via an InputStream interface
Parameters:
multiByteBuffer – The MultiByteBuffer to read from