Module

Erl.Data.Bitstring

Package
erl-binary
Repository
purerl/purescript-erl-binary

#fromBinary Source

fromBinary :: Binary -> Bitstring

Witness that every binary is a bitstring

#bitSize Source

bitSize :: Bitstring -> Int

Size in bits of a bit string

#byteSize Source

byteSize :: Bitstring -> Int

Size in bytes of a bit string (rounded up)

Re-exports from Erl.Data.Bitstring.Type

#Bitstring Source

data Bitstring :: Type

Instances