 
 (defn safebase64->str
   "Given urlsafe base64 string decode it to string."
-  [^Strung s]
+  [^String s]
   (-> (case (mod (count s) 4)
         2 (str s "==")
         3 (str s "=")


(defprotocol ByteArray
  "Facility for convert input parameters
to bytes array with default implementation 
for string an bytes array itself."
  (->byte-array [this] "Represent this as byte array."))


(ns buddy.core.codecs
  "Util functions for make conversion between string, bytes
and encode them to base64 ot hex format."
  (:require [clojure.string :as str])
  (:import (org.apache.commons.codec.binary Base64 Hex)))

(defn bytes?
