| ... | ... | @@ -55,6 +55,12 @@ pub const base64_encoder = base64.Base64Encoder.init( |
| 55 | 55 | base64.standard_pad_char, |
| 56 | 56 | ); |
| 57 | 57 | |
| 58 | /// Base64, replacing the standard `+/` with `-_` so that it can be used in a file name on any filesystem. |
| 59 | pub const base64_decoder = base64.Base64Decoder.init( |
| 60 | "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_", |
| 61 | base64.standard_pad_char, |
| 62 | ); |
| 63 | |
| 58 | 64 | /// Whether or not async file system syscalls need a dedicated thread because the operating |
| 59 | 65 | /// system does not support non-blocking I/O on the file system. |
| 60 | 66 | pub const need_async_thread = std.io.is_async and switch (builtin.os.tag) { |