org.lightwolf.tools
Class PublicByteArrayInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.ByteArrayInputStream
          extended by org.lightwolf.tools.PublicByteArrayInputStream
All Implemented Interfaces:
Closeable

public class PublicByteArrayInputStream
extends ByteArrayInputStream


Field Summary
 
Fields inherited from class java.io.ByteArrayInputStream
buf, count, mark, pos
 
Constructor Summary
PublicByteArrayInputStream(byte[] buf)
           
PublicByteArrayInputStream(byte[] buf, int offset, int length)
           
 
Method Summary
 byte[] getBuffer()
           
 
Methods inherited from class java.io.ByteArrayInputStream
available, close, mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.io.InputStream
read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PublicByteArrayInputStream

public PublicByteArrayInputStream(byte[] buf)

PublicByteArrayInputStream

public PublicByteArrayInputStream(byte[] buf,
                                  int offset,
                                  int length)
Method Detail

getBuffer

public byte[] getBuffer()