intset-0.1.1.0: Pure, mergeable, succinct Int sets.

Portabilitylittle endian arch
Stabilityexperimental
Maintainerpxqr.sta@gmail.com
Safe HaskellNone

Data.IntervalSet.ByteString

Description

Fast conversion from or to lazy and strict bytestrings. Serialized IntSets are represented as single continious bitmap.

This module is kept separated due safe considerations.

Synopsis

Documentation

toByteString :: IntSet -> BS.ByteStringSource

Pack the IntSet as bitmap to the strict bytestring.

NOTE: negative elements are ignored!