bitarray-bs-0.1.0.0: Bit array based on ByteString
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.ByteString.BitArray

Synopsis

BIT ARRAY

data B Source #

Instances

Instances details
Show B Source # 
Instance details

Defined in Data.ByteString.BitArray

Methods

showsPrec :: Int -> B -> ShowS #

show :: B -> String #

showList :: [B] -> ShowS #

FROM/TO BYTE STRING

APPEND

append :: B -> B -> B Source #

SPLIT

pop :: B -> Maybe (B, B) Source #

popBits :: Bits n => Int -> B -> Maybe (n, B) Source #

splitAt :: Int -> B -> Maybe (B, B) Source #

CONVERT

toBits :: Bits n => B -> n Source #