A replacement for ByteArrayInputStream that does not synchronize every byte read.
This class extends {@link InputStream} and its read()methods allow it to be used as a standard input stream. In addition, it provides readFast() methods that are not declared to throw IOException. IOException is never thrown by this class.
This provides InputStream that delegates to com.sleepycat.util.FastInputStream if it is available and if it is not it delegates to java.io.ByteArrayInputStream. This class allows ActiveMQ to not be dependent on the bdb lib. It might be worth it to just fully implement a FastInputStream ourselfs. I think it's just a ByteArrayInputStream what is not thread safe.
@version $Revision: 1.1.1.1 $
This provides InputStream that delegates to com.sleepycat.util.FastInputStream if it is available and if it is not it delegates to java.io.ByteArrayInputStream. This class allows ActiveMQ to not be dependent on the bdb lib. It might be worth it to just fully implement a FastInputStream ourselfs. I think it's just a ByteArrayInputStream what is not thread safe.
@version $Revision: 1.1 $
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.