Convert a list of bytes to a string.
(bytes->string bytes) → str
Function:
(defun bytes->string (bytes) (declare (xargs :guard (byte-listp bytes))) (let ((__function__ 'bytes->string)) (declare (ignorable __function__)) (coerce (bytes->charlist bytes) 'string)))
Theorem:
(defthm stringp-of-bytes->string (implies (and (byte-listp bytes)) (b* ((str (bytes->string bytes))) (stringp str))) :rule-classes :rewrite)