convert a blob to base64 string, with the data header included.
this function works correctly all the time, unlike btoa, which fails for arbitrary bytes.
btoa
other related functions that you may find useful:
convert a blob to base64 string, with the data header included.
this function works correctly all the time, unlike
btoa
, which fails for arbitrary bytes.other related functions that you may find useful: