a",d=a.getElementsByTagName("*"),e=a.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=a.getElementsByTagName("input")[0],k={leadingWhitespace:a.firstChild.nodeType===3,tbody:!a.getElementsByTagName("tbody").length,htmlSerialize:!!a.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55$/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:a.className!=="t",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,k.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,k.optDisabled=!h.disabled;try{delete a.test}catch(v){k.deleteExpando=!1}!a.addEventListener&&a.attachEvent&&a.fireEvent&&(a.attachEvent("onclick",function(){k.noCloneEvent=!1}),a.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),k.radioValue=i.value==="t",i.setAttribute("checked","checked"),a.appendChild(i),l=c.createDocumentFragment(),l.appendChild(a.firstChild),k.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,a.innerHTML="",a.style.width=a.style.paddingLeft="1px",m=c.getElementsByTagName("body")[0],o=c.createElement(m?"div":"body"),p={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},m&&f.extend(p,{position:"absolute",left:"-1000px",top:"-1000px"});for(t in p)o.style[t]=p[t];o.appendChild(a),n=m||b,n.insertBefore(o,n.firstChild),k.appendChecked=i.checked,k.boxModel=a.offsetWidth===2,"zoom"in a.style&&(a.style.display="inline",a.style.zoom=1,k.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="",k.shrinkWrapBlocks=a.offsetWidth!==2),a.innerHTML="
(bench {:keys [reader? laps], :or {reader? true, laps 1}})
bench*
macro
(bench* & body)
data
freeze-reader
(freeze-reader x)
roundtrip-defaults
roundtrip-encrypted
roundtrip-fast
roundtrip-reader
thaw-reader
(thaw-reader x)
\ No newline at end of file
diff --git a/taoensso.nippy.compression.html b/taoensso.nippy.compression.html
index 10910f0..9de4f6b 100644
--- a/taoensso.nippy.compression.html
+++ b/taoensso.nippy.compression.html
@@ -1,5 +1,5 @@
-taoensso.nippy.compression documentation
Positional factory function for class taoensso.nippy.compression.SnappyCompressor.
-
snappy-compressor
Default org.iq80.snappy.Snappy compressor.
+
ICompressor
compress
(compress compressor ba)
decompress
(decompress compressor ba)
snappy-compressor
Default org.iq80.snappy.Snappy compressor.
\ No newline at end of file
diff --git a/taoensso.nippy.encryption.html b/taoensso.nippy.encryption.html
index 7f9b3b7..d25fdb3 100644
--- a/taoensso.nippy.encryption.html
+++ b/taoensso.nippy.encryption.html
@@ -1,8 +1,8 @@
-taoensso.nippy.encryption documentation
Alpha - subject to change.
Simple no-nonsense crypto with reasonable defaults. Because your Clojure data
deserves some privacy.
->AES128Encryptor
(->AES128Encryptor key-cache)
Positional factory function for class taoensso.nippy.encryption.AES128Encryptor.
-
aes128-encryptor
Alpha - subject to change.
+
IEncryptor
aes128-encryptor
Alpha - subject to change.
Default 128bit AES encryptor with multi-round SHA-512 keygen.
Password form [:salted "my-password"]
@@ -36,5 +36,5 @@ CONS: Using a small number of keys for many encrypted items means that if any
compromised.
Faster than `aes128-salted`, and harder to attack any particular key - but
-increased danger if a key is somehow compromised.
map->AES128Encryptor
(map->AES128Encryptor m__5665__auto__)
Factory function for class taoensso.nippy.encryption.AES128Encryptor, taking a map of keywords to field values.
+increased danger if a key is somehow compromised.
decrypt
(decrypt encryptor pwd ba)
encrypt
(encrypt encryptor pwd ba)
map->AES128Encryptor
(map->AES128Encryptor m__5665__auto__)
Factory function for class taoensso.nippy.encryption.AES128Encryptor, taking a map of keywords to field values.
\ No newline at end of file
diff --git a/taoensso.nippy.html b/taoensso.nippy.html
index f9e1470..aa8c44f 100644
--- a/taoensso.nippy.html
+++ b/taoensso.nippy.html
@@ -1,6 +1,6 @@
-taoensso.nippy documentation
Simple, high-performance Clojure serialization library. Originally adapted
+from Deep-Freeze.
Freezable
custom-readers
extend-freeze
macro
(extend-freeze type custom-type-id [x stream] & body)
Alpha - subject to change.
Extends Nippy to support freezing of a custom type with id ∈[1, 128]:
(defrecord MyType [data])
(extend-freeze MyType 1 [x data-output-stream]
@@ -8,12 +8,12 @@ Extends Nippy to support freezing of a custom type with id ∈[1, 128]:
Extends Nippy to support thawing of a custom type with id ∈[1, 128]:
(extend-thaw 1 [data-input-stream]
(->MyType (.readUTF data-input-stream)))
Serializes arg (any Clojure data type) to a byte array. Set :legacy-mode to
-true to produce bytes readble by Nippy < 2.x. For custom types extend the
+true to produce bytes readable by Nippy < 2.x. For custom types extend the
Clojure reader or see `extend-freeze`.
freeze-to-bytes
(freeze-to-bytes x & {:keys [compress?], :or {compress? true}})
DEPRECATED: Use `freeze` instead.
freeze-to-stream!
(freeze-to-stream! data-output-stream x & _)
Low-level API. Serializes arg (any Clojure data type) to a DataOutputStream.
-
Deserializes a frozen object from given byte array to its original Clojure
data type. Supports data frozen with current and all previous versions of
Nippy. For custom types extend the Clojure reader or see `extend-thaw`.
thaw-from-bytes
(thaw-from-bytes ba & {:keys [compressed?], :or {compressed? true}})
DEPRECATED: Use `thaw` instead.
-
thaw-from-stream!
(thaw-from-stream! data-input-stream)
Low-level API. Deserializes a frozen object from given DataInputStream to its
-original Clojure data type.
\ No newline at end of file
+
thaw-from-stream!
(thaw-from-stream! data-input-stream & _)
Low-level API. Deserializes a frozen object from given DataInputStream to its
+original Clojure data type.
write-id
macro
(write-id s id)
\ No newline at end of file
diff --git a/taoensso.nippy.tools.html b/taoensso.nippy.tools.html
index f967960..7fcd951 100644
--- a/taoensso.nippy.tools.html
+++ b/taoensso.nippy.tools.html
@@ -1,13 +1,13 @@
-taoensso.nippy.tools documentation
Alpha - subject to change.
Utilities for third-party tools that want to add fully-user-configurable Nippy
-support. Used by Carmine and Faraday.
->EncryptedFrozen
(->EncryptedFrozen ba)
Positional factory function for class taoensso.nippy.tools.EncryptedFrozen.
+support. Used by Carmine and Faraday.
*thaw-opts*
->EncryptedFrozen
(->EncryptedFrozen ba)
Positional factory function for class taoensso.nippy.tools.EncryptedFrozen.
->WrappedForFreezing
(->WrappedForFreezing value opts)
Positional factory function for class taoensso.nippy.tools.WrappedForFreezing.
-
freeze
(freeze x & [{:keys [default-opts]}])
Like `nippy/freeze` but takes options from special argument wrapper when
+
encrypted-frozen?
(encrypted-frozen? x)
freeze
(freeze x & [{:keys [default-opts]}])
Like `nippy/freeze` but takes options from special argument wrapper when
present.
map->EncryptedFrozen
(map->EncryptedFrozen m__5665__auto__)
Factory function for class taoensso.nippy.tools.EncryptedFrozen, taking a map of keywords to field values.
map->WrappedForFreezing
(map->WrappedForFreezing m__5665__auto__)
Factory function for class taoensso.nippy.tools.WrappedForFreezing, taking a map of keywords to field values.
thaw
(thaw ba & {:keys [default-opts]})
Like `nippy/thaw` but takes options from *thaw-opts* binding, and wraps
encrypted bytes for easy identification when no password has been provided
for decryption.
with-thaw-opts
macro
(with-thaw-opts opts & body)
Evaluates body using given options for any automatic deserialization in
context.
wrap-for-freezing
(wrap-for-freezing value & [opts])
Wraps arg (any freezable data type) so that (tools/freeze <wrapped-arg>)
-will serialize the arg using given options.
\ No newline at end of file
+will serialize the arg using given options.
wrapped-for-freezing?
(wrapped-for-freezing? x)
\ No newline at end of file
diff --git a/taoensso.nippy.utils.html b/taoensso.nippy.utils.html
index c051bc3..7c92b6c 100644
--- a/taoensso.nippy.utils.html
+++ b/taoensso.nippy.utils.html
@@ -1,8 +1,8 @@
-taoensso.nippy.utils documentation