HORIZON HASKELLDocslts/ghc-9.14.x7a6c33e2026-10-12Search packagesCtrl K
Theme: |

GHC 9.14.1 · lts/ghc-9.14.x · 7a6c33e · 2026-10-12

Modulebyteslice-0.2.15.0Haskell2010

Data.Bytes.Mutable

If you are interested in sub-arrays of MutableByteArrays (e.g. writing quicksort), it would be grossly inefficient to make a copy of the sub-array. On the other hand, it'd be really annoying to track limit indices by hand.

This module defines the MutableBytes type which exposes a standard array interface for a sub-arrays without copying and without manual index manipulation. For immutable arrays, see Data.Bytes.

Contents
  1. Types
  2. Filtering
  3. Unsafe Slicing
  4. Conversion
Synopsis

Types

Filtering

Unsafe Slicing

Conversion