Safe Haskell | None |
---|---|
Language | Haskell2010 |
Strict encoder
- strictEncoder :: NumBits -> Encoding -> ByteString
- newtype Encoding = Encoding {}
- encodersS :: [Encoding] -> Encoding
- encodeListWith :: (t -> Encoding) -> [t] -> Encoding
- encodeArrayWith :: (t -> Encoding) -> [t] -> Encoding
- eChar :: Char -> Encoding
- eUTF16 :: Text -> Encoding
- eUTF8 :: Text -> Encoding
- eBytes :: ByteString -> Encoding
- eLazyBytes :: ByteString -> Encoding
- eShortBytes :: ShortByteString -> Encoding
- eNatural :: Natural -> Encoding
- eFloat :: Float -> Encoding
- eDouble :: Double -> Encoding
- eInteger :: Integer -> Encoding
- eInt64 :: Int64 -> Encoding
- eInt32 :: Int32 -> Encoding
- eInt16 :: Int16 -> Encoding
- eInt8 :: Int8 -> Encoding
- eInt :: Int -> Encoding
- eWord64 :: Word64 -> Encoding
- eWord32 :: Word32 -> Encoding
- eWord16 :: Word16 -> Encoding
- eWord8 :: Word8 -> Encoding
- eWord :: Word -> Encoding
- eBits :: NumBits -> Word8 -> Encoding
- eFiller :: Encoding
- eBool :: Bool -> Encoding
- eTrue :: Encoding
- eFalse :: Encoding
- vsize :: (t -> NumBits) -> t -> NumBits -> NumBits
- csize :: NumBits -> t -> NumBits -> NumBits
- sChar :: Size Char
- sInt64 :: Size Int64
- sInt32 :: Size Int32
- sInt16 :: Size Int16
- sInt8 :: Size Int8
- sInt :: Size Int
- sWord64 :: Size Word64
- sWord32 :: Size Word32
- sWord16 :: Size Word16
- sWord8 :: Size Word8
- sWord :: Size Word
- sFloat :: Size Float
- sDouble :: Size Double
- sBytes :: Size ByteString
- sLazyBytes :: Size ByteString
- sShortBytes :: Size ShortByteString
- sNatural :: Size Natural
- sInteger :: Size Integer
- sUTF8Max :: Size Text
- sUTF16 :: Size Text
- sFillerMax :: Size a
- sBool :: Size Bool
Documentation
strictEncoder :: NumBits -> Encoding -> ByteString Source #
Strict encoder
encodeListWith :: (t -> Encoding) -> [t] -> Encoding Source #
Encode as a List
encodeArrayWith :: (t -> Encoding) -> [t] -> Encoding Source #
Encode as Array
eBytes :: ByteString -> Encoding Source #
eLazyBytes :: ByteString -> Encoding Source #
sBytes :: Size ByteString Source #
sFillerMax :: Size a Source #