Base64 is a way of representing binary data using only 64 printable ASCII characters. It takes three bytes of input (24 bits) and encodes them as four characters (6 bits each), so the output is always ...
Web APIとの連携や、フロントエンドから送られてくるデータを処理していると、一見すると無意味な英数字の羅列に遭遇することがあります。「iVBORw0KGgo...」のように延々と続く長い文字列。これこそが、画像やPDFなどのバイナリデータをテキスト形式で表現 ...