      (decode [data#]
        (~decode data#))))
 
-(defonce ^:internal ^Codecs codecs
+(defonce ^:internal ^:no-doc ^Codecs codecs
   (-> (Codecs.)
     (.add None/INSTANCE)))
 

  (:import [org.projectodd.wunderboss.codecs BytesCodec Codec Codecs None StringCodec]
           java.nio.ByteBuffer))

(defmacro data-readers []
  (if (resolve 'clojure.core/*data-readers*)
    '(merge *data-readers* r/*data-readers*)
    'r/*data-readers*))

  []
  (into #{} (map #(-> % .name keyword) (.codecs codecs))))

(defn ^:internal ^:no-doc ^Codec lookup-codec
  [name-or-content-type]
  (if-let [codec (.forName codecs (name name-or-content-type))]
    codec
