Fix typo in custom types example
This commit is contained in:
parent
49fbbf270f
commit
370fc23d1a
1 changed files with 1 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ There's two default forms of encryption on offer: `:salted` and `:cached`. Each
|
|||
(defrecord MyType [data])
|
||||
|
||||
(nippy/extend-freeze MyType 1 ; A unique type id ∈[1, 128]
|
||||
[x data-output-steam]
|
||||
[x data-output-stream]
|
||||
(.writeUTF data-output-stream (:data x)))
|
||||
|
||||
(nippy/extend-thaw 1 ; Same type id
|
||||
|
|
|
|||
Loading…
Reference in a new issue