Hoogle Search

Within LTS Haskell 24.49 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. module Data.ByteArray.Pack

    Simple Byte Array packer Simple example:

    > flip pack 20 $ putWord8 0x41 >> putByteString "BCD" >> putWord8 0x20 >> putStorable (42 :: Word32)
    Right (ABCD *\NUL\NUL\NUL")
    
    Original code from https://hackage.haskell.org/package/bspack generalized and adapted to run on memory, and spellchecked / tweaked. (2015-05) Copyright (c) 2014 Nicolas DI PRIMA

  2. data Packer a

    memory Data.ByteArray.Pack

    Simple ByteArray Packer

  3. PackerFail :: String -> Result a

    memory Data.ByteArray.Pack

    No documentation available.

  4. PackerMore :: a -> MemView -> Result a

    memory Data.ByteArray.Pack

    No documentation available.

  5. module Data.ByteArray.Parse

    A very simple bytearray parser related to Parsec and Attoparsec Simple example:

    > parse ((,,) <$> take 2 <*> byte 0x20 <*> (bytes "abc" *> anyByte)) "xx abctest"
    ParseOK "est" ("xx", 116)
    

  6. ParseFail :: String -> Result byteArray a

    memory Data.ByteArray.Parse

    No documentation available.

  7. ParseMore :: (Maybe byteArray -> Result byteArray a) -> Result byteArray a

    memory Data.ByteArray.Parse

    No documentation available.

  8. ParseOK :: byteArray -> a -> Result byteArray a

    memory Data.ByteArray.Parse

    No documentation available.

  9. data Parser byteArray a

    memory Data.ByteArray.Parse

    Simple ByteString parser structure

  10. module Data.Memory.PtrMethods

    methods to manipulate raw memory representation

Page 69 of many | Previous | Next