Share your thoughts in the 2024 State of Clojure Survey!

Welcome! Please see the About page for a little more info on how this works.

0 votes
in data.fressian by

single bytes are not supported

`
;; this is ok
(-> (float 10) fress/write fress/read) ;=> 10.0

;; this breaks
(-> (byte 10) fress/write fress/read)
;; IllegalArgumentException Cannot write 10 as tag null org.fressian.handlers.WriteHandlerLookup.requireWriteHandler

;; white this works
(-> (byte-array [(byte 10)]) fress/write fress/read) ;;=> [10]
`

1 Answer

0 votes
by
Reference: https://clojure.atlassian.net/browse/DFRS-8 (reported by alex+import)
...