zoom-cache-0.3.0.0: A streamable, seekable, zoomable cache file format

Portabilityunknown
Stabilityunstable
MaintainerConrad Parker <conrad@metadecks.org>

Data.ZoomCache.Common

Contents

Description

Types used throughout zoom-cache

Synopsis

Types

data TrackType Source

Constructors

ZDouble 
ZInt 

data DataRateType Source

Constant or Variable datarate. For constant datarate, timestamps are implied as incrementing by 1/datarate For variable datarate, explicit timestamps are attached to each datum, encoded as a separate block of timestamps in the Raw Data packet.

Constructors

ConstantDR 
VariableDR 

Instances

Global header

CacheFile

data CacheFile Source

Global and track headers for a zoom-cache file

Constructors

CacheFile 

mkCacheFile :: Global -> CacheFileSource

Create an empty CacheFile using the given Global

fiFull :: CacheFile -> BoolSource

Determine whether all tracks of a CacheFile are specified

Version

data Version Source

Constructors

Version Int Int 

Instances

Track specification

type TrackMap = IntMap TrackSpecSource

A map of all track numbers to their TrackSpec

data TrackSpec Source

A specification of the type and name of each track

Instances