Commit graph

10 commits

Author SHA1 Message Date
Eric
fa5095133a remove buffer size dependency from input functions
This should've been part of 848c37, when buffers were unwired from input
functions. Now buffer size is also no longer supplied in function calls
but assumed. It is up to the caller to provide appropriately sized
buffers.
2025-05-27 18:37:48 +02:00
Eric
196c54cffa change newline termination behaviour when encoding
Before, encoded text would be newline terminated by default.
This was supposed to make short encoded strings easier to read when
using an interactive shell.
Now this only happens with the explicit line wrap option.
2025-05-27 02:09:21 +02:00
Eric
cd091b6a0c change help message to reflect new options -uw 2025-05-27 01:36:27 +02:00
Eric
0dba01d98e add linewrap option when encoding (76 columns) 2025-05-27 01:32:09 +02:00
Eric
6c7d699f1a add newline to end of file when encoding 2025-05-27 00:27:25 +02:00
Eric
a91be306b1 add base64url encoding option 2025-05-26 23:59:47 +02:00
Eric
28fcd5ed7a change file trans.{c,h} to encode.{c,h} 2025-05-26 23:12:16 +02:00
Eric
221a8588c0 add writing to file output option 2025-05-26 22:38:33 +02:00
Eric
848c3749d2 change function definitions
Buffers are no longer wired into any input or translation functions.
They are supplied as arguments through main.
2025-05-26 12:23:54 +02:00
Eric
9b1fe95a8e first commit 2025-05-26 00:06:22 +02:00