asn1-types-0.3.4: ASN.1 types
License BSD-style
Maintainer Vincent Hanquez <vincent@snarc.org>
Stability experimental
Portability unknown
Safe Haskell Safe-Inferred
Language Haskell98

Data.ASN1.BitArray

Description

Synopsis

Documentation

bitArrayLength :: BitArray -> Word64 Source #

returns the length of bits in this bitarray

bitArraySetBitValue :: BitArray -> Word64 -> Bool -> BitArray Source #

set the nth bit to the value specified

bitArrayGetData :: BitArray -> ByteString Source #

get padded bytestring of the bitarray

toBitArray :: ByteString -> Int -> BitArray Source #

number of bit to skip at the end (padding)