zig/std/os
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
..
windows Added DLL loading capability in windows to the std lib. 2017-11-16 21:49:05 -06:00
child_process.zig fix windows build from previous commit 2017-10-31 22:24:02 -04:00
darwin.zig add a std lib test for reading and writing files 2017-11-10 14:17:23 -05:00
darwin_errno.zig
get_user_id.zig std.os.ChildProcess: ability to set both uid and gid 2017-09-26 02:42:06 -04:00
index.zig rework std.base64 api 2017-11-20 23:26:45 -07:00
linux.zig fix windows trying to run linux-only tests 2017-11-10 18:29:49 -05:00
linux_errno.zig
linux_i386.zig
linux_test.zig add epoll and timerfd support on linux 2017-11-10 15:12:46 -08:00
linux_x86_64.zig
path.zig add a std lib test for reading and writing files 2017-11-10 14:17:23 -05:00