File: ByteArray.hs

package info (click to toggle)
haskell-memory 0.18.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 324 kB
  • sloc: haskell: 3,362; makefile: 7
file content (34 lines) | stat: -rw-r--r-- 1,058 bytes parent folder | download | duplicates (5)
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
-- |
-- Module      : Data.ByteArray
-- License     : BSD-style
-- Maintainer  : Vincent Hanquez <vincent@snarc.org>
-- Stability   : stable
-- Portability : Good
--
-- Simple and efficient byte array types
--
-- This module should be imported qualified.
--
{-# LANGUAGE BangPatterns #-}
{-# LANGUAGE MagicHash #-}
{-# LANGUAGE UnboxedTuples #-}
{-# LANGUAGE NoImplicitPrelude #-}
module Data.ByteArray
    (
    -- * ByteArray Classes
      module Data.ByteArray.Types
    -- * ByteArray built-in types
    , module Data.ByteArray.Bytes
    , module Data.ByteArray.ScrubbedBytes
    , module Data.ByteArray.MemView
    , module Data.ByteArray.View
    -- * ByteArray methods
    , module Data.ByteArray.Methods
    ) where

import           Data.ByteArray.Types
import           Data.ByteArray.Methods
import           Data.ByteArray.ScrubbedBytes (ScrubbedBytes)
import           Data.ByteArray.Bytes         (Bytes)
import           Data.ByteArray.MemView       (MemView(..))
import           Data.ByteArray.View          (View, view, takeView, dropView)