https://github.com/scodec/scodec-akka
Provides interop between scodec and akka
https://github.com/scodec/scodec-akka
Last synced: 7 months ago
JSON representation
Provides interop between scodec and akka
- Host: GitHub
- URL: https://github.com/scodec/scodec-akka
- Owner: scodec
- License: bsd-3-clause
- Archived: true
- Created: 2015-09-07T14:07:10.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2018-03-19T16:00:53.000Z (over 8 years ago)
- Last Synced: 2024-03-25T22:12:47.284Z (over 2 years ago)
- Language: Scala
- Size: 9.77 KB
- Stars: 14
- Watchers: 5
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
scodec-akka
===========
Provides interop between scodec and akka.
To use this project, import everything from the `scodec.interop.akka` package.
import scodec.bits._
import scodec.interop.akka._
import akka.util.ByteString
val x: ByteVector = hex"deadbeef"
val y: ByteString = x.toByteString
Currently, this library only defines conversions between `ByteVector` and `ByteString`. Support will be added for using `Codec`s in akka streams and perhaps building streaming encoders/decoders with akka streams, similar to the support in the `scodec-stream` project.
Getting Binaries
----------------
This library is published to Maven Central under `org.scodec %% scodec-akka`.
See the [releases page on the website](http://scodec.org/releases/).