| author | |
| committer | |
| log | 5f1ed4def3f780a4a633decfbc4ec20d489c823f |
| tree | 09875669f5e0760e1716c3a49756d8c7cc47a6f4 |
| parent | db738886d5d1d233083c175ebf4aa659f3cf2590 |
1 files changed, 2 insertions(+), 2 deletions(-)
src/lib.zig+2-2| ... | ... | @@ -49,8 +49,8 @@ pub fn trimPrefix(in: string, prefix: string) string { |
| 49 | 49 | return in; |
| 50 | 50 | } |
| 51 | 51 | |
| 52 | fn base64EncodeAlloc(alloc: *std.mem.Allocator, input: string) !string { | |
| 52 | pub fn base64EncodeAlloc(alloc: *std.mem.Allocator, input: string) !string { | |
| 53 | 53 | const base64 = std.base64.standard_encoder; |
| 54 | 54 | var buf = try alloc.alloc(u8, base64.calcSize(input.len)); |
| 55 | return try base64.encode(buf, input); | |
| 55 | return base64.encode(buf, input); | |
| 56 | 56 | } |