com.ejie.r01f.io
Class BytesInputStream
java.lang.Object
java.io.InputStream
com.ejie.r01f.io.BytesInputStream
- public class BytesInputStream
- extends java.io.InputStream
Versión des-sincronizada de ByteArrayInputStream.
- Author:
- Copyright (c) 2002 Merlin Hughes
Methods inherited from class java.io.InputStream |
read |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BytesInputStream
public BytesInputStream(byte[] data)
BytesInputStream
public BytesInputStream(byte[] data,
int offset,
int length)
read
public int read()
throws java.io.IOException
- Throws:
java.io.IOException
read
public int read(byte[] data,
int offset,
int length)
throws java.io.IOException
- Throws:
java.io.IOException
skip
public long skip(long amount)
throws java.io.IOException
- Throws:
java.io.IOException
available
public int available()
throws java.io.IOException
- Throws:
java.io.IOException
close
public void close()
mark
public void mark(int readLimit)
reset
public void reset()
throws java.io.IOException
- Throws:
java.io.IOException
markSupported
public boolean markSupported()