Efficiently revappend the characters from base64-decode onto an accumulator.
(base64-revappend-decode x acc) → (mv okp acc)
We leave this enabled; it would be odd to reason about it.
Function:
(defun base64-revappend-decode (x acc) (declare (xargs :guard (stringp x))) (declare (type string x)) (let ((acl2::__function__ 'base64-revappend-decode)) (declare (ignorable acl2::__function__)) (mbe :logic (b* (((mv okp str) (base64-decode x))) (mv okp (revappend-chars str acc))) :exec (b64-decode-str-impl x 0 (length x) acc))))