Class ByteStringInputStream

java.lang.Object
java.io.InputStream
ucar.unidata.util.ByteStringInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class ByteStringInputStream extends InputStream
Version:
$Revision: 1.10 $ $Date: 2006/05/05 19:19:33 $
Author:
$Author: jeffmc $
  • Field Details

    • bs_

      protected final ByteString bs_
      _more_
    • pos_

      protected int pos_
      _more_
    • mark_

      protected int mark_
      _more_
  • Constructor Details

    • ByteStringInputStream

      public ByteStringInputStream(ByteString bs)
      _more_
      Parameters:
      bs -
  • Method Details

    • read

      public int read()
      _more_
      Specified by:
      read in class InputStream
      Returns:
      _more_
    • read

      public int read(byte[] dst, int off, int nbytes)
      _more_
      Overrides:
      read in class InputStream
      Parameters:
      dst -
      off -
      nbytes -
      Returns:
      _more_
    • skip

      public long skip(long nbytes)
      _more_
      Overrides:
      skip in class InputStream
      Parameters:
      nbytes -
      Returns:
      _more_
    • available

      public int available()
      _more_
      Overrides:
      available in class InputStream
      Returns:
      _more_
    • markSupported

      public boolean markSupported()
      _more_
      Overrides:
      markSupported in class InputStream
      Returns:
      _more_
    • mark

      public void mark(int readAheadLimit)
      _more_
      Overrides:
      mark in class InputStream
      Parameters:
      readAheadLimit -
    • reset

      public void reset()
      _more_
      Overrides:
      reset in class InputStream