Could you please provide an example, of how to work with an Identicon.saveAsSvg funtion?
I'm trying it in android, as follows:
val icon = Identicon.fromValue("Hello", size = 64)
val stream = ByteArrayOutputStream()
icon.saveAsSvg(stream)
Log.d("Debug", "Recieved " + stream.toByteArray().size)
and the received bytearray appears to be empty.
Library is obtained with implementation 'io.github.thibseisel.identikon:identikon-android:1.0.0'
Could you please provide an example, of how to work with an Identicon.saveAsSvg funtion?
I'm trying it in android, as follows:
and the received bytearray appears to be empty.
Library is obtained with
implementation 'io.github.thibseisel.identikon:identikon-android:1.0.0'