bitstring-0.0.0: Lazy bit strings

Data.BitString.BigEndian

Description

Big-endian bitstrings. In this context, "big-endian" means that the bits in the bytes are in the opposite order than what would be logical. If you ask me, this is just plain stupid, but some people apparently still use it...

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