bitstring-0.0.0: Lazy bit strings

Data.BitString

Description

Lazy bitstrings, somewhat similar to lazy bytestrings. This module is intended to be imported qualified.

Synopsis

Documentation

data BitString Source

Instances

Eq BitString

warning! very slow! TODO: make a better routine

Show BitString 

unsafeBitString'Source

Arguments

:: Int64

offset

-> Int64

length

-> ByteString

source

-> BitString 

Create a BitString from a portion of a ByteString. Warning! No boundary checks are performed!

foldl' :: (a -> Bool -> a) -> a -> BitString -> aSource

findSubstringSource

Arguments

:: BitString

the string to search for

-> BitString

the string to search in

-> Maybe Int64

the index of the first substring, if exists