Basic constructor macro for rlp-error-extra-bytes structures.
(make-rlp-error-extra-bytes [:bytes <bytes>])
This is the usual way to construct rlp-error-extra-bytes structures. It simply conses together a structure with the specified fields.
This macro generates a new rlp-error-extra-bytes structure from scratch. See also change-rlp-error-extra-bytes, which can "change" an existing structure, instead.
This is an ordinary
Macro:
(defmacro make-rlp-error-extra-bytes (&rest args) (std::make-aggregate 'rlp-error-extra-bytes args '((:bytes)) 'make-rlp-error-extra-bytes nil))
Function:
(defun rlp-error-extra-bytes (bytes) (declare (xargs :guard (byte-listp bytes))) (declare (xargs :guard t)) (let ((__function__ 'rlp-error-extra-bytes)) (declare (ignorable __function__)) (b* ((bytes (mbe :logic (byte-list-fix bytes) :exec bytes))) (cons :extra-bytes (list bytes)))))