com.japisoft.fastparser.fio
Class FastByteArrayInputStream

java.lang.Object
  |
  +--java.io.InputStream
        |
        +--com.japisoft.fastparser.fio.FastByteArrayInputStream

public final class FastByteArrayInputStream
extends java.io.InputStream

Non synchronized ByteArrayInputStream

Version:
1.0

Constructor Summary
FastByteArrayInputStream(byte[] buf)
           
 
Method Summary
 int available()
           
 void close()
           
 void mark(int readAheadLimit)
           
 boolean markSupported()
           
 int read()
           
 int read(byte[] b, int off, int len)
           
 void reset()
           
 long skip(long n)
           
 
Methods inherited from class java.io.InputStream
read
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FastByteArrayInputStream

public FastByteArrayInputStream(byte[] buf)
Method Detail

read

public int read()
Specified by:
read in class java.io.InputStream

read

public int read(byte[] b,
                int off,
                int len)
Overrides:
read in class java.io.InputStream

skip

public long skip(long n)
Overrides:
skip in class java.io.InputStream

available

public int available()
Overrides:
available in class java.io.InputStream

markSupported

public boolean markSupported()
Overrides:
markSupported in class java.io.InputStream

mark

public void mark(int readAheadLimit)
Overrides:
mark in class java.io.InputStream

reset

public void reset()
Overrides:
reset in class java.io.InputStream

close

public void close()
           throws java.io.IOException
Overrides:
close in class java.io.InputStream
java.io.IOException