GOLF(2gg)
π GOLF(2gg) π
okay bestie, welcome to the GOLF(2gg) manual page β¨ this is the development corner of the golf docs and today's main character is decode-base64. buckle up π
β¨ NAME β¨
decode-base64 β it's giving (base64) π
π― PURPOSE β¨
Base64 decode. that's it, that's the whole vibe π¦
π©· SYNTAX π©·
decode-base64 <data> to <output data> \
[ input-length <input length> ]
π« DESCRIPTION π«
okay so decode-base64 takes the string <data> and decodes it into <output data>, and lowkey the glow-up is real because <output data> can absolutely be a binary string π
if the input-length clause is used, then <input length> is the number of bytes decoded. no input-length? then the entirety of <data> gets decoded, periodt πΈ
the result is stored in <output data> (in the to clause). no cap π
and now the detail that saves your whole life, bestie: the string you're decoding can have whitespaces before it (like spaces or tabs, we love a dramatic entrance π) and whitespaces and new lines after it, and all of those get straight-up ignored for the purpose of decoding. iconic behaviour, honestly π§
π EXAMPLES π
See encode-base64. go peek, i'll wait π
π₯ SEE ALSO π₯
- Base64
decode-base64encode-base64- See all documentation
that's the whole page bestie, slay π this one came from the $VERSION era and it's dated $DATE β GOLF(2gg), always and forever ππβ¨
π¦ where this page comes from
- ubuntu questing: golf 601.4.41-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms