name: bytestring-to-vector version: 0.3.0.1 license: BSD3 license-file: LICENSE synopsis: Convert between ByteString and Vector.Storable without copying homepage: https://github.com/sheyll/bytestring-to-vector category: Data Structures author: Keegan McAllister maintainer: Sven Heyll build-type: Simple cabal-version: >=1.10 description: This library allows conversion between the types from @Data.ByteString@ (package @bytestring@) and @Data.Vector.Storable@ (package @vector@) without copying the underlying data. This is useful, for example, when @ByteString@ IO produces or consumes vectors of numbers in native byte order. . The conversion relies on the fact that @ByteString@ and @Vector@ use their respective @ForeignPtr@s in compatible ways. . This library is a fork of the @spool@ package written by Keegan McAllister. extra-source-files: README.md, stack.yaml, LICENSE, .travis.yml library exposed-modules: Data.Vector.Storable.ByteString hs-source-dirs: src ghc-options: -Wall default-language: Haskell2010 build-depends: base >= 3 && < 5 , bytestring , vector test-suite tests type: exitcode-stdio-1.0 hs-source-dirs: test main-is: Main.hs default-language: Haskell2010 build-depends: base >= 3 && < 5 , byteorder , bytestring-to-vector , bytestring , vector , QuickCheck source-repository head type: git location: git://github.com/sheyll/bytestring-to-vector.git