binary-strict-0.4.8: Binary deserialisation using strict ByteStrings

Data.Binary.Strict.ByteSet

Contents

Description

A ByteSet is a fast Set object for Word8's. The construction of these objects isn't terribly quick, but the member function should be about as good as you can get. Thus, you should use this when member is the most common operation

This object is designed to be imported qualified:

 import qualified Data.Binary.Strict.ByteSet as BSet

Synopsis

Documentation

data ByteSet Source

Instances

Construction

empty :: ByteSetSource

An empty set

full :: ByteSetSource

The set contained all elements

singleton :: Word8 -> ByteSetSource

A set with a single element

range :: Word8 -> Word8 -> ByteSetSource

Construct a ByteSet containing all the elements from a to b, inclusive.

Combination

Uniary functions