Package com.google.common.io
Class ByteStreams.FastByteArrayOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- java.io.ByteArrayOutputStream
-
- com.google.common.io.ByteStreams.FastByteArrayOutputStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.io.Flushable
,java.lang.AutoCloseable
- Enclosing class:
- ByteStreams
private static final class ByteStreams.FastByteArrayOutputStream extends java.io.ByteArrayOutputStream
BAOS that provides limited access to its internal byte array.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
FastByteArrayOutputStream()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
writeTo(byte[] b, int off)
Writes the contents of the internal buffer to the given array starting at the given offset.
-