com.sun.squawk.util
Class ByteArrayInputStreamWithSetBytes
java.lang.Object
java.io.InputStream
java.io.ByteArrayInputStream
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)
Copyright © 2006, 2007 Sun Microsystems, Inc. All Rights Reserved.