lispdoc - results for ldb

(ldb bytespec integer)
Setf: The first argument is a byte specifier. The second is any place form acceptable to SETF. Replace the specified byte of the number in this place with bits from the low-order end of the new value.
Function: Extract the specified byte from integer, and right justify result.
Example:
(defun output-type-code (code stream)
  (declare (type ub32 code))
  (write-byte (ldb (byte 8 0) code) stream))
Mentioned in:
CLtL2 - 12.8. Byte Manipulation Functions
CLtL2 - 7.2. Generalized Variables
HyperSpec - Accessor LDB
PCL - binary format basics
PCL - integer types
PCL - string types
PCL - the current object stack
Successful Lisp - chapter18
(ldb-test bytespec integer)
Function: Return T if any of the specified bits in integer are 1's.
 Mentioned in:
CLtL2 - 12.8. Byte Manipulation Functions
HyperSpec - Function LDB-TEST
Successful Lisp - chapter18