zig/std
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
..
c add a std lib test for reading and writing files 2017-11-10 14:17:23 -05:00
fmt breaking change to std.io API 2017-10-31 04:47:55 -04:00
math disable some of the failing tests 2017-10-15 02:04:21 -04:00
os rework std.base64 api 2017-11-20 23:26:45 -07:00
special std.io: introduce buffered I/O and change API 2017-11-07 03:22:27 -05:00
zlib c-to-zig: return statement 2017-09-01 03:16:35 -04:00
array_list.zig add a std lib test for reading and writing files 2017-11-10 14:17:23 -05:00
base64.zig rework std.base64 api 2017-11-20 23:26:45 -07:00
buf_map.zig change slicing syntax from ... to .. 2017-05-19 10:39:59 -04:00
buf_set.zig implement std.os.ChildProcess for windows 2017-10-14 15:32:18 -04:00
buffer.zig add a std lib test for reading and writing files 2017-11-10 14:17:23 -05:00
build.zig std.io: introduce buffered I/O and change API 2017-11-07 03:22:27 -05:00
cstr.zig implement std.os.symLink for windows 2017-10-14 17:39:44 -04:00
debug.zig add a std lib test for reading and writing files 2017-11-10 14:17:23 -05:00
dwarf.zig better stack traces for ELF x86_64 2017-04-24 12:14:45 -04:00
elf.zig std.io: introduce buffered I/O and change API 2017-11-07 03:22:27 -05:00
empty.zig recognize ar program and pass --gc-sections to ld 2016-05-11 14:44:10 -07:00
endian.zig change slicing syntax from ... to .. 2017-05-19 10:39:59 -04:00
hash_map.zig add a std lib test for reading and writing files 2017-11-10 14:17:23 -05:00
heap.zig fix redeclaration of mem (#585) 2017-11-05 15:46:54 -06:00
index.zig breaking change to std.io API 2017-10-31 04:47:55 -04:00
io.zig fix test failure on 32 bit windows 2017-11-10 16:03:14 -05:00
io_test.zig disable broken 32 bit windows test 2017-11-10 17:08:11 -05:00
linked_list.zig add a std lib test for reading and writing files 2017-11-10 14:17:23 -05:00
mem.zig add a std lib test for reading and writing files 2017-11-10 14:17:23 -05:00
net.zig fix std.io.InStream for windows 2017-10-15 16:45:43 -04:00
rand.zig disable some of the failing tests 2017-10-15 02:04:21 -04:00
rand_test.zig std: add tests for mt32 and mt64 2016-07-28 20:14:57 -07:00
sort.zig partial implementation of printing floating point numbers with errol3 2017-06-14 00:24:25 -04:00