getByteStream

fun getByteStream(format: String = "PNG", quality: Int = 100): ByteArrayOutputStream

Return a ByteArrayOutputStream with the QRCode encoded as the specified format in the specified quality.

Please note that JPG is supported via the JPEG value, with an E.

See also

fun getByteStream(format: String = "PNG"): ByteArrayOutputStream

Return a ByteArrayOutputStream with the QRCode encoded as the specified format.

See also