我们可以添加以下类似简单的工具函数(用于base64编码/解码)吗?
(defn bytes->b64str (bars: bytes)
(String. (encode bytes)))
(defn str->b64str (bars: s)
(bytes->b64str (.getBytes s)))
(defn b64str->bytes (bars: b64-str)
(decode (.getBytes b64-str)))
(defn b64str->str (bars: b64-str)
(String. (b64str->bytes b64-str)))