public final class InitiallyReusableByteArrayOutputStream
extends java.io.ByteArrayOutputStream
ByteArrayOutputStream that takes a provided byte array as its
initial buffer. This is useful for situations where there is only one thread at
a time creating these objects and allocating the initial array is expensive.| Constructor and Description |
|---|
InitiallyReusableByteArrayOutputStream(byte[] initialArray)
Builds an instance with an initial buffer.
|
Copyright © 2020 Feedzai. All Rights Reserved.