Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| " 2013 FRC Java API "
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.squawk.util
Class ByteArrayOutputStreamWithGetBytes

    java.lang.Object
      java.io.OutputStream
          java.io.ByteArrayOutputStream
              com.sun.squawk.util.ByteArrayOutputStreamWithGetBytes

    public class ByteArrayOutputStreamWithGetBytes

extends ByteArrayOutputStream

An extention of `ByteArrayOutputStream` that allows the byte array buffer to be read directly, using the `getBytes()` method.

See Also:
  `ByteArrayOutputStream`

Field Summary

Fields inherited from class java.io.ByteArrayOutputStream
`buf, count`

Constructor Summary
`ByteArrayOutputStreamWithGetBytes()`
`ByteArrayOutputStreamWithGetBytes(int size)`

Method Summary
`void` | `ensureEnoughRoomFor(int size)`
`byte[]` | `getBytes()`
`void` | `skip(int size)`

Methods inherited from class java.io.ByteArrayOutputStream
`close, reset, size, toByteArray, toString, write, write`

Methods inherited from class java.io.OutputStream
`flush, write`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### ByteArrayOutputStreamWithGetBytes

    public ByteArrayOutputStreamWithGetBytes()

### ByteArrayOutputStreamWithGetBytes

    public ByteArrayOutputStreamWithGetBytes(int size)

Method Detail

### getBytes

    public byte[] getBytes()

### ensureEnoughRoomFor

    public void ensureEnoughRoomFor(int size)

### skip

    public void skip(int size)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| " 2013 FRC Java API "
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

"
For updated information see the Java FRC site
"