com.sun.squawk.util
Class ByteArrayInputStreamWithSetBytes
java.lang.Object
   java.io.InputStream
java.io.InputStream
       java.io.ByteArrayInputStream
java.io.ByteArrayInputStream
           com.sun.squawk.util.ByteArrayInputStreamWithSetBytes
com.sun.squawk.util.ByteArrayInputStreamWithSetBytes
- public class ByteArrayInputStreamWithSetBytes 
- extends ByteArrayInputStream
An extention of ByteArrayInputStream that allows the byte array buffer to be modified, using the 
 setBytes(byte[], int, int) method.
- See Also:
- ByteArrayInputStream
| Field Summary | 
| protected  int | offset
 | 
 
 
 
| Method Summary | 
|  int | getPos()
 | 
|  void | setBytes(byte[] bytes,
         int offset,
         int length)
 | 
 
 
 
 
offset
protected int offset
ByteArrayInputStreamWithSetBytes
public ByteArrayInputStreamWithSetBytes(byte[] bytes)
ByteArrayInputStreamWithSetBytes
public ByteArrayInputStreamWithSetBytes(byte[] bytes,
                                        int offset,
                                        int length)
getPos
public int getPos()
- 
 
setBytes
public void setBytes(byte[] bytes,
                     int offset,
                     int length)
- 
 
"For updated information see the Java FRC site"