   [blob]
   (or
     (when-let [content (:content blob)]
-      (.capacity content))
+      (.capacity ^ByteBuffer content))
     (:stat/size blob)))
 
 

;; ## Blob Record

;; Blobs have the following two primary attributes:
;;
;;
;; - `:id`        `Multihash` with the digest identifying the content
;; - `:content`   read-only Java `ByteBuffer` with opaque content

        after (:after opts prefix)]
    (cond->> ids
      after  (drop-while #(pos? (compare after (encoder %))))
      prefix (take-while #(.startsWith ^String (encoder %) prefix))
      limit  (take limit))))


