1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
cabal-version: 2.2
name: byte-order
version: 0.1.2.0
synopsis: Portable big-endian and little-endian conversions
description:
This library provides an interface to portably work with byte
arrays whose contents are known to be of a fixed endianness.
There are two ways to use this module. See the `System.ByteOrder`
module for more documentation.
homepage: https://github.com/andrewthad/byte-order
bug-reports: https://github.com/andrewthad/byte-order/issues
license: BSD-3-Clause
license-file: LICENSE
author: Andrew Martin
maintainer: andrew.thaddeus@gmail.com
copyright: 2019 Andrew Martin
category: Data
extra-source-files: CHANGELOG.md
library
exposed-modules:
Data.Primitive.ByteArray.BigEndian
Data.Primitive.ByteArray.LittleEndian
System.ByteOrder
System.ByteOrder.Class
build-depends:
, base >=4.11.1.0 && <5
, primitive >=0.6.4 && <0.8
, primitive-unaligned >=0.1.1 && <0.2
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -O2 -Wall
test-suite unit
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Unit.hs
build-depends:
, base
, byte-order
, primitive
ghc-options: -Wall -O2
default-language: Haskell2010
|