Josh Wolfe a44283b0b2 rework std.base64 api
* rename decode to decodeExactUnsafe.
* add decodeExact, which checks for invalid chars and padding.
* add decodeWithIgnore, which also allows ignoring chars.
* alphabets are supplied to the decoders with their
  char-to-index mapping already built, which enables it to be
  done at comptime.
* all decode/encode apis except decodeWithIgnore require dest
  to be the exactly correct length. This is calculated by a
  calc function corresponding to each api. These apis no longer
  return the dest parameter.
* for decodeWithIgnore, an exact size cannot be known a priori.
  Instead, a calc function gives an upperbound, and a runtime
  error is returned in case of overflow. decodeWithIgnore
  returns the number of bytes written to dest.

closes #611
2017-11-20 23:26:45 -07:00
..
2017-10-31 04:47:55 -04:00
2017-10-15 02:04:21 -04:00
2017-11-20 23:26:45 -07:00
2017-09-01 03:16:35 -04:00
2017-11-20 23:26:45 -07:00
2017-10-14 17:39:44 -04:00
2017-04-24 12:14:45 -04:00
2017-11-05 15:46:54 -06:00
2017-10-31 04:47:55 -04:00
2017-11-10 17:08:11 -05:00
2017-11-10 16:03:14 -05:00
2017-10-15 16:45:43 -04:00
2016-07-28 20:14:57 -07:00
2017-10-15 02:04:21 -04:00