| Safe Haskell | Unsafe |
|---|
Data.Vector.Storable.UnsafeSerialize
Description
Efficient, but unsafe Get and Putter for
Data.Vector.Storable vectors. The serialized format is an Int64
representing the length of the Vector, followed by the raw
bytes. Therefore behavior may be unpredictable if serialized data
is transferred between machines with different word size or
endianness.
- unsafeGetVector :: forall a. Storable a => Get (Vector a)
- unsafePutVector :: forall a. Storable a => Putter (Vector a)