Safe Haskell | None |
---|---|
Language | Haskell2010 |
Analogous to Basics
in the low-level API, this module deals
with capnproto's Text
and Data
types. These are simply aliases for
ByteString
and the text package's Text
; mostly this module provides
helper functions and type class instances.
Unlike with the low-level API, typed lists do not require special treatment -- they're just Vectors.
Synopsis
- type Data = ByteString
- type Text = Text
Documentation
type Data = ByteString Source #
A capnproto Data
value. This is just an alias for ByteString
.
Orphan instances
Decerialize Text Source # | |
Decerialize Data Source # | |
Cerialize s Text Source # | |
Cerialize s Data Source # | |
Marshal s Text Source # | |
Marshal s Data Source # | |
Cerialize s (Vector (Vector (Vector (Vector (Vector Data))))) Source # | |
Cerialize s (Vector (Vector (Vector (Vector (Vector Text))))) Source # | |
Cerialize s (Vector (Vector (Vector (Vector Data)))) Source # | |
Cerialize s (Vector (Vector (Vector (Vector Text)))) Source # | |
Cerialize s (Vector (Vector (Vector Data))) Source # | |
Cerialize s (Vector (Vector (Vector Text))) Source # | |
Cerialize s (Vector (Vector Data)) Source # | |
Cerialize s (Vector (Vector Text)) Source # | |
Cerialize s (Vector Data) Source # | |
Cerialize s (Vector Text) Source # | |