encodeStreamToBase64

public final String encodeStreamToBase64(InputStream inputStream)

Encode an InputStream to a base64 string.

Return

The base64 encoded string.

Parameters

inputStream

The input stream to encode.