uni-util-2.3.0.1: Utilities for the uniform workbench

Safe HaskellNone

Util.Bytes

Description

This defines primitive byte operations, to be used with binary conversion. For the present we use the FFI. There are probably lots of better ways.

Documentation

data Bytes Source

Instances

Monad m => HasBinary (Bytes, Int) m 

bytesAlloca :: Int -> (Bytes -> IO a) -> IO aSource