org.pdfbox.io
Class FastByteArrayOutputStream
ByteArrayOutputStream
org.pdfbox.io.FastByteArrayOutputStream
public class FastByteArrayOutputStream
extends ByteArrayOutputStream
An byte array output stream that allows direct access to the byte array.
byte[] | getByteArray() - This will get the underlying byte array.
|
FastByteArrayOutputStream
public FastByteArrayOutputStream(int size)
Constructor.
size
- An initial size of the stream.
getByteArray
public byte[] getByteArray()
This will get the underlying byte array.
- The underlying byte array at this moment in time.