byte-streams icon indicating copy to clipboard operation
byte-streams copied to clipboard

A Rosetta stone for JVM byte representations

Results 5 byte-streams issues
Sort by recently updated
recently updated
newest added

When I try to convert a stream of byte arrays to a seq of byte arrays, it just returns back the original stream without doing any conversion. ```clojure user=> (require...

Is this by design? I would expect to get an empty byte array instead. ``` => (bs/to-byte-array []) IllegalArgumentException Don't know how to convert class clojure.lang.PersistentVector into class [B byte-streams/convert...

Declaring new conversions via `def-conversion` which would make conversion between two types less costly are ineffective if the conversion in question has occurred at least once before. This is caused...

Converters are instantiated (and then memoized) lazily on first use. Since this is a rather heavy operation, it can influence timing-sensitive code as [recently observed in Aleph's test suite](https://github.com/clj-commons/aleph/issues/626). This...

performance

Repro: https://github.com/bevuta/byte-streams-def-conversion-aot-issue Essentially the same issue as https://github.com/clj-commons/byte-streams/issues/34 but with `tools.deps` and `tools.build` instead of Leiningen. The resulting error is the same: Execution error (ClassCastException) at clj_commons.byte_streams.graph.ConversionGraph/assoc_conversion (graph.clj:117). class clj_commons.byte_streams.graph.Type...