public static FastByteArrayOutputStream copyToOutputStream(final InputStream input, final int count) throws IOException {
    """
	Copies {@link InputStream} to a new {@link FastByteArrayOutputStream} using buffer and specified encoding.
	
	@see #copy(InputStream, OutputStream, int)
    """
		try (FastByteArrayOutputStream output = createFastByteArrayOutputStream()) {
			copy(input, output, count);
			return output;
		}
	}
public static FastByteArrayOutputStream copyToOutputStream(final InputStream input, final int count) throws IOException {
		try (FastByteArrayOutputStream output = createFastByteArrayOutputStream()) {
			copy(input, output, count);
			return output;
		}
	}
public static FastByteArrayOutputStream copyToOutputStream ( final InputStream input , final int count ) throws IOException { try ( FastByteArrayOutputStream output = createFastByteArrayOutputStream ( ) ) { copy ( input , output , count ) ; return output ; } }
Copies {@link InputStream} to a new {@link FastByteArrayOutputStream} using buffer and specified encoding.

@see #copy(InputStream, OutputStream, int)
Copies { @link InputStream } to a new { @link FastByteArrayOutputStream } using buffer and specified encoding .