<h2>org.das2.util.ByteBufferInputStream</h2><p>An input stream that wraps an NIO ByteBuffer.  Reading from this stream
 will update the ByteBuffers position.  Calling mark() on this input stream
 will set the mark on the underlying buffer.</p>
<h2>ByteBufferInputStream( <a href='https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html'>java.nio.ByteBuffer</a> buffer )</h2>
<p>Creates a new instance of ByteBufferInputStream</p>

<hr>
<a name="available"></a>
<h2>available</h2>
available(  ) &rarr; int

<p></p>

<h3>Returns:</h3>
int

<br><br>
<a href="https://github.com/autoplot/dev/search?q=available&unscoped_q=available">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/ByteBufferInputStream.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/ByteBufferInputStream.html#available">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/ByteBufferInputStream.java">[view source]</a>
<br>
<br>
<hr>
<a name="close"></a>
<h2>close</h2>
close(  ) &rarr; void

<p></p>

<h3>Returns:</h3>
void (returns nothing)

<br><br>
<a href="https://github.com/autoplot/dev/search?q=close&unscoped_q=close">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/ByteBufferInputStream.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/ByteBufferInputStream.html#close">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/ByteBufferInputStream.java">[view source]</a>
<br>
<br>
<hr>
<a name="getByteBuffer"></a>
<h2>getByteBuffer</h2>
getByteBuffer(  ) &rarr; <a href='https://docs.oracle.com/javase/8/docs/api/java/nio/ByteBuffer.html'>java.nio.ByteBuffer</a>

<p></p>

<h3>Returns:</h3>
java.nio.ByteBuffer

<br><br>
<a href="https://github.com/autoplot/dev/search?q=getByteBuffer&unscoped_q=getByteBuffer">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/ByteBufferInputStream.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/ByteBufferInputStream.html#getByteBuffer">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/ByteBufferInputStream.java">[view source]</a>
<br>
<br>
<hr>
<a name="mark"></a>
<h2>mark</h2>
mark( int readlimit ) &rarr; void

<p></p>

<h3>Parameters</h3>
readlimit - an int

<h3>Returns:</h3>
void (returns nothing)

<br><br>
<a href="https://github.com/autoplot/dev/search?q=mark&unscoped_q=mark">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/ByteBufferInputStream.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/ByteBufferInputStream.html#mark">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/ByteBufferInputStream.java">[view source]</a>
<br>
<br>
<hr>
<a name="markSupported"></a>
<h2>markSupported</h2>
markSupported(  ) &rarr; boolean

<p></p>

<h3>Returns:</h3>
boolean

<br><br>
<a href="https://github.com/autoplot/dev/search?q=markSupported&unscoped_q=markSupported">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/ByteBufferInputStream.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/ByteBufferInputStream.html#markSupported">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/ByteBufferInputStream.java">[view source]</a>
<br>
<br>
<hr>
<a name="read"></a>
<h2>read</h2>
read(  ) &rarr; int

<p></p>

<h3>Returns:</h3>
int

<br><br>
<a href="https://github.com/autoplot/dev/search?q=read&unscoped_q=read">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/ByteBufferInputStream.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/ByteBufferInputStream.html#read">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/ByteBufferInputStream.java">[view source]</a>
<br>
<br>
read( byte[] b ) &rarr; int<br>
read( byte[] b, int off, int len ) &rarr; int<br>
<hr>
<a name="reset"></a>
<h2>reset</h2>
reset(  ) &rarr; void

<p></p>

<h3>Returns:</h3>
void (returns nothing)

<br><br>
<a href="https://github.com/autoplot/dev/search?q=reset&unscoped_q=reset">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/ByteBufferInputStream.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/ByteBufferInputStream.html#reset">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/ByteBufferInputStream.java">[view source]</a>
<br>
<br>
<hr>
<a name="skip"></a>
<h2>skip</h2>
skip( long n ) &rarr; long

<p></p>

<h3>Parameters</h3>
n - a long

<h3>Returns:</h3>
long

<br><br>
<a href="https://github.com/autoplot/dev/search?q=skip&unscoped_q=skip">[search for examples]</a>
 <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/util/ByteBufferInputStream.md">[view on GitHub]</a>
 <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/util/ByteBufferInputStream.html#skip">[view on old javadoc]</a>
 <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCoreUtil/src/org/das2/util/ByteBufferInputStream.java">[view source]</a>
<br>
<br>