Closed NiroopNife closed 3 years ago
Hi. First thing what google returns is the code snippet you can already use: https://stackoverflow.com/questions/15957427/how-do-i-encode-a-dart-string-in-base64
as you already have bytes, you can skip first line of the conversion (string->bytes)
Next time, please make some search effort before opening new issue. Thanks!
I'm trying to save the signature to the Database, so i need to convert the signature which is current in pngbytes. But I need to show the saved image in a base64 format. So how to convert a pngbytes to base64?