Liking cljdoc? Tell your friends :D

tupelo.y64

Convert to/from the URL-safe Y64 encoding. Y64 is a URL-safe variant of Base64 encoding created by Yahoo (YUI library) which replaces URL-problematic chars with URL-safe substitutes. The specific substitutions are: + -> . (plus -> period) / -> _ (slash -> underscore) = -> - (equals -> hyphen) For more information, please see: http://en.wikipedia.org/wiki/Base64
http://www.yuiblog.com/blog/2010/07/06/in-the-yui-3-gallery-base64-and-y64-encoding/

Convert to/from the URL-safe Y64 encoding.  Y64 is a URL-safe variant of Base64
encoding created by Yahoo (YUI library) which replaces URL-problematic chars 
with URL-safe substitutes. The specific substitutions are:
    +  ->  .   (plus   -> period)
    /  ->  _   (slash  -> underscore)
    =  ->  -   (equals -> hyphen)
For more information, please see:
  http://en.wikipedia.org/wiki/Base64  
  http://www.yuiblog.com/blog/2010/07/06/in-the-yui-3-gallery-base64-and-y64-encoding/
raw docstring

decode-byte-arrayclj

(decode-byte-array byte-arr)

Decodes a byte array from Y64, returning a new byte array.

Decodes a byte array from Y64, returning a new byte array.
sourceraw docstring

decode-strclj

(decode-str code-str)

Inputs: [code-str :- s/Str] Returns: s/Str

Decodes a Y64 encoded String, returning a String.

Inputs: [code-str :- s/Str]
Returns: s/Str

Decodes a Y64 encoded String, returning a String.
sourceraw docstring

decode-str->byte-arrayclj

(decode-str->byte-array code-str)

Inputs: [code-str :- s/Str]

Decodes a Y64 encoded String, returning a byte array

Inputs: [code-str :- s/Str]

Decodes a Y64 encoded String, returning a byte array
sourceraw docstring

decode-str->bytesclj

(decode-str->bytes code-str)

Inputs: [code-str :- s/Str] Returns: [s/Int]

Decodes a Y64 encoded String, returning a vector of byte values

Inputs: [code-str :- s/Str]
Returns: [s/Int]

Decodes a Y64 encoded String, returning a vector of byte values
sourceraw docstring

encode-byte-arrayclj

(encode-byte-array byte-arr)

Encodes a byte array into Y64, returning a new byte array.

Encodes a byte array into Y64, returning a new byte array.
sourceraw docstring

encode-byte-array->strclj

(encode-byte-array->str byte-arr)

Inputs: [byte-arr] Returns: s/Str

Encodes a byte array into Y64, returning a String.

Inputs: [byte-arr]
Returns: s/Str

Encodes a byte array into Y64, returning a String.
sourceraw docstring

encode-bytes->strclj

(encode-bytes->str src-bytes)

Inputs: [src-bytes :- [s/Int]] Returns: s/Str

Encodes a vector of byte values into Y64, returning a String.

Inputs: [src-bytes :- [s/Int]]
Returns: s/Str

Encodes a vector of byte values into Y64, returning a String.
sourceraw docstring

encode-strclj

(encode-str src-str)

Inputs: [src-str :- s/Str] Returns: s/Str

Encodes a String into Y64, returning a String.

Inputs: [src-str :- s/Str]
Returns: s/Str

Encodes a String into Y64, returning a String.
sourceraw docstring

encoding-char-setclj

A set of chars used for the Y64 encoding (incl. padding char)

A set of chars used for the Y64 encoding (incl. padding char)
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close