Hoogle Search
Within LTS Haskell 24.43 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
ShortByteString :: ByteArray -> ShortByteStringos-string System.OsString.Data.ByteString.Short No documentation available.
unShortByteString :: ShortByteString -> ByteArrayos-string System.OsString.Data.ByteString.Short No documentation available.
-
os-string System.OsString.Data.ByteString.Short.Word16 A compact representation of a Word8 vector. It has a lower memory overhead than a ByteString and does not contribute to heap fragmentation. It can be converted to or from a ByteString (at the cost of copying the string data). It supports very few other operations.
ShortByteString :: ByteArray -> ShortByteStringos-string System.OsString.Data.ByteString.Short.Word16 No documentation available.
unShortByteString :: ShortByteString -> ByteArrayos-string System.OsString.Data.ByteString.Short.Word16 No documentation available.
fromBytestring :: ByteString -> PosixStringos-string System.OsString.Posix Like fromBytes, but not in IO. fromBytes was designed to have a symmetric type signature on unix and windows, but morally the function has no IO effects on unix, so we provide this variant without breaking existing API. This function does not exist on windows.
getByteString :: MonadGet m => Int -> m ByteStringbytes Data.Bytes.Get An efficient get method for strict ByteStrings. Fails if fewer than n bytes are left in the input.
getLazyByteString :: MonadGet m => Int64 -> m ByteStringbytes Data.Bytes.Get An efficient get method for lazy ByteStrings. Does not fail if fewer than n bytes are left in the input.
putByteString :: MonadPut m => ByteString -> m ()bytes Data.Bytes.Put An efficient primitive to write a strict ByteString into the output buffer. In binary this flushes the current buffer, and writes the argument into a new chunk.
putLazyByteString :: MonadPut m => ByteString -> m ()bytes Data.Bytes.Put Write a lazy ByteString efficiently. With binary, this simply appends the chunks to the output buffer