Logo

Programming-Idioms

  • Fortran
  • Dart
  • Erlang
  • Vb

Idiom #235 Decode base64

Assign to byte array data the bytes represented by the base64 string s, as specified by RFC 4648.

Imports System
Dim bytes As Byte() = Convert.FromBase64String(s)
import "dart:convert";
var bytes = base64Decode(s);
using System;
byte[] bytes = Convert.FromBase64String(s);

New implementation...
< >
programming-idioms.org