hsndfile-storablevector-0.5.2: Haskell bindings for libsndfile (Data.StorableVector interface)

Safe HaskellNone

Sound.File.Sndfile.Buffer.StorableVector

Description

This module provides a Buffer instance for Vector, wrapped in a newtype. See Sound.File.Sndfile.Buffer.StorableVector.Examples for some example code.

Synopsis

Documentation

data Buffer a Source

Newtype wrapper for Vector.

Instances

toBuffer :: Vector a -> Buffer aSource

Construct a Buffer from a Vector.

fromBuffer :: Buffer a -> Vector aSource

Extract the Vector from a Buffer.