Popularity
6.3
Declining
Activity
0.0
Stable
1
10
0
Monthly Downloads: 3
Programming language: Haskell
License: BSD 3-clause "New" or "Revised" License
Latest version: v0.0.1.0
cereal-io-streams alternatives and similar packages
Based on the "cereal" category.
Alternatively, view cereal-io-streams alternatives based on common mentions on social networks and blogs.
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
Promo www.influxdata.com
Do you think we are missing an alternative of cereal-io-streams or a related project?
README
cereal-io-streams - io-streams support for the cereal binary serialization library
Functions
putToStream :: Put -> IO (InputStream ByteString) putEachStream :: Putter r -> InputStream r -> IO (InputStream ByteString) getFromStream :: Get r -> InputStream ByteString -> IO r getEachStream :: Get r -> InputStream ByteString -> IO (InputStream r) contramapPut :: Putter r -> OutputStream ByteString -> IO (OutputStream r) Examples
>>> getFromStream (get :: Get String) =<< putToStream (put "serialize me") "serialize me" >>> getFromStream (get :: Get String) =<< Streams.fromByteString (Data.ByteString.drop 1 $ runPut $ put ("serialize me" :: String)) *** Exception: Get exception: too few bytes From: demandInput