Module

Erl.Data.Bitstring

#isBinary

#fromBinary

fromBinary :: Binary -> Bitstring

Witness that every binary is a bitstring

#bitSize

bitSize :: Bitstring -> Int

Size in bits of a bit string

#byteSize

byteSize :: Bitstring -> Int

Size in bytes of a bit string (rounded up)

Re-exports from Erl.Data.Bitstring.Type

#Bitstring

data Bitstring

Instances

Modules