spring-framework / org.springframework.util / FastByteArrayOutputStream / <init>

<init>

FastByteArrayOutputStream()

Create a new FastByteArrayOutputStream with the default initial capacity of 256 bytes.

FastByteArrayOutputStream(initialBlockSize: Int)

Create a new FastByteArrayOutputStream with the specified initial capacity.

Parameters

initialBlockSize - the initial buffer size in bytes