packstream-0.1.0.2: PackStream converter for Neo4j BOLT protocol
Safe HaskellNone
LanguageHaskell2010

Data.PackStream.Serializer

Synopsis

Documentation

null :: ByteString Source #

Represent () as PackStream ByteString

bool :: Bool -> ByteString Source #

Represent Bool as PackStream ByteString

integer :: Int -> ByteString Source #

Represent Int as PackStream ByteString

float :: Double -> ByteString Source #

Represent Double as PackStream ByteString

bytes :: ByteString -> ByteString Source #

Represent ByteString as PackStream ByteString

string :: Text -> ByteString Source #

Represent Text as PackStream ByteString

list :: [Value] -> ByteString Source #

Represent '[Value]' as PackStream ByteString

dict :: Map Text Value -> ByteString Source #

Represent 'Map Text Value' as PackStream ByteString

value :: Value -> ByteString Source #

Represent Value as PackStream ByteString