| Copyright | (c) Daniel Lovasko 2016-2017 |
|---|---|
| License | BSD3 |
| Maintainer | Daniel Lovasko <daniel.lovasko@gmail.com> |
| Stability | stable |
| Portability | portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Codec.Goat.ValueFrame.Types
Description
The ValueFrame type represents the compressed form of value points. It is an instance of Eq, Show and Serialize typeclasses.
- data ValueFrame = ValueFrame (Maybe Word32) Word32 ByteString
Documentation
data ValueFrame Source #
Succinct representation of a list of value points. The constructor arguments are as follows: * first value * number of valid bits * bits
Constructors
| ValueFrame (Maybe Word32) Word32 ByteString |
Instances
| Eq ValueFrame Source # | |
| Show ValueFrame Source # | Pretty-printing of the ValueFrame type. |
| Serialize ValueFrame Source # | Binary serialization of the ValueFrame type. All integers are using the big-endian byte order. |
| Frame Float ValueFrame Source # | Binding of Float and ValueFrame. |