borer-compat-scodec
The borer-core
module by itself only knows how to encode to and decode from plain byte arrays (Array[Byte]
).
When you include the borer-compat-scodec
module as a dependency (see the Getting Started chapter for details) and
import io.bullet.borer.compat.scodec.*
you also get full “zero-copy” support for encoding to and decoding from scodec.bits.ByteVector
as well as an implicit Encoder[ByteVector]
and Decoder[ByteVector]
.
1.14.1