Package org.apache.myfaces.util.lang
Class FastByteArrayInputStream
- java.lang.Object
- 
- java.io.InputStream
- 
- org.apache.myfaces.util.lang.FastByteArrayInputStream
 
 
- 
- All Implemented Interfaces:
- Closeable,- AutoCloseable
 
 public class FastByteArrayInputStream extends InputStream ByteArrayInputStream implementation that does not synchronize methods.
- 
- 
Constructor SummaryConstructors Constructor Description FastByteArrayInputStream(byte[] buf)FastByteArrayInputStream(byte[] buf, int count)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intavailable()intread()intread(byte[] b, int off, int len)longskip(long n)- 
Methods inherited from class java.io.InputStreamclose, mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, transferTo
 
- 
 
- 
- 
- 
Method Detail- 
availablepublic final int available() - Overrides:
- availablein class- InputStream
 
 - 
readpublic final int read() - Specified by:
- readin class- InputStream
 
 - 
readpublic final int read(byte[] b, int off, int len)- Overrides:
- readin class- InputStream
 
 - 
skippublic final long skip(long n) - Overrides:
- skipin class- InputStream
 
 
- 
 
-