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.
SqlByteString :: ByteString -> SqlValueHDBC Database.HDBC No documentation available.
SqlByteString :: ByteString -> SqlValueHDBC Database.HDBC.SqlValue No documentation available.
SqlByteString :: ByteString -> SqlValueHDBC Database.HDBC.Statement No documentation available.
SqlByteString :: ByteString -> SqlValueHDBC Database.HDBC.Types No documentation available.
cloneFromByteString :: ByteString -> Vector Bitbitvec Data.Bit Clone a ByteString to a new unboxed vector of bits.
>>> :set -XOverloadedStrings >>> cloneFromByteString "abc" [1,0,0,0,0,1,1,0,0,1,0,0,0,1,1,0,1,1,0,0,0,1,1,0]
cloneToByteString :: Vector Bit -> ByteStringbitvec Data.Bit Clone an unboxed vector of bits to a new ByteString. If the bits don't completely fill the bytes, the last character will be zero-padded.
>>> :set -XOverloadedLists >>> cloneToByteString [1,0,0,0,0,1,1,0,0,1,0,0,0,1,1,0,1,1,0,0,0,1] "ab#"
cloneFromByteString :: ByteString -> Vector Bitbitvec Data.Bit.ThreadSafe Clone a ByteString to a new unboxed vector of bits.
>>> :set -XOverloadedStrings >>> cloneFromByteString "abc" [1,0,0,0,0,1,1,0,0,1,0,0,0,1,1,0,1,1,0,0,0,1,1,0]
cloneToByteString :: Vector Bit -> ByteStringbitvec Data.Bit.ThreadSafe Clone an unboxed vector of bits to a new ByteString. If the bits don't completely fill the bytes, the last character will be zero-padded.
>>> :set -XOverloadedLists >>> cloneToByteString [1,0,0,0,0,1,1,0,0,1,0,0,0,1,1,0,1,1,0,0,0,1] "ab#"
shortByteString :: ShortByteString -> Builderbytebuild Data.Bytes.Builder Create a builder from a short bytestring. Implemented with bytes.
runByteString :: forall (n :: Nat) . Nat n -> Builder n -> ByteStringbytebuild Data.Bytes.Builder.Bounded Variant of run that puts the result in a pinned buffer and packs it up in a ByteString.