|
Data.Unboxed | Portability | Hugs/GHC | Stability | experimental | Maintainer | Bulat Ziganshin <Bulat.Ziganshin@gmail.com> |
|
|
|
Description |
Class Unboxed represents values that can be stored in unboxed vectors
and unboxed references
Based on the: Hugs.ByteArray module
|
|
Synopsis |
|
|
|
Documentation |
|
|
Immutable and mutable byte vectors
|
|
|
|
|
|
Additional operations on byte vectors
Alloc the mutable byte vector having elems elements of required type
|
|
|
Mutable->immutable byte vector on-place conversion
|
|
|
Immutable->mutable byte vector on-place conversion
|
|
|
Mutable->immutable byte vector conversion which takes a copy of contents
|
|
|
Immutable->mutable byte vector conversion which takes a copy of contents
|
|
|
Recast immutable unboxed vector
|
|
|
Recast mutable unboxed vector
|
|
class Unboxed value where | Source |
|
Unboxed is like Storable, but values are stored in byte vectors (i.e. inside the Haskell heap)
| | Methods | | | Instances | |
|
|
|
Read the value from mutable byte vector at given index
|
|
|
Write the value to mutable byte vector at given index
|
|
|
Read the value from immutable byte vector at given index
|
|
|
How many bytes required to represent values of this type
|
|
Produced by Haddock version 2.1.0 |