ghc-spool
Convert between ByteString and Vector.Storable without copying
This library allows conversion between the types from 'Data.ByteString' (package 'bytestring') and 'Data.Vector.Storable' (package 'vector') without copying the underlying data. This is useful, for example, when 'ByteString' IO produces or consumes vectors of numbers in native byte order. This trick relies on the fact that 'ByteString' and 'Vector' use their respective 'ForeignPtr's in compatible ways. It works with 'bytestring-0.9.1.10' and 'vector-0.9' on GHC 7.0. It may break with future releases of these packages. Depending on this library should be seen as a way to document and standardize an existing hack, and not as an absolute guarantee of correct behavior.
openSUSE Leap 16.0 没有可用的官方软件包发行版
不受支持的发行版
下列发行版未被官方支持。使用这些软件包需要您自担风险。