-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | GenValidity support for ByteString -- -- Please see README.md @package genvalidity-bytestring @version 0.4.0.0 module Data.GenValidity.ByteString -- | WARNING: Unchecked ByteStrings are seriously broken. -- -- The pointer may still point to something which is fine, but the offset -- and length will most likely be complete nonsense. This will -- most-likely lead to segfaults. -- -- This means that genUnchecked will generate seriously broken -- ByteString values. This is intended. If you need valid -- ByteString values, use GenValid instead. -- -- Make sure to not use any test suite combinators or property -- combinators that involve GenInvalid (like -- genValiditySpec) on types that contain ByteString -- values. genTrulyUncheckedStrictByteString :: Gen ByteString shrinkTrulyUncheckedStrictByteString :: ByteString -> [ByteString] instance Data.GenValidity.GenUnchecked Data.ByteString.Internal.ByteString instance Data.GenValidity.GenValid Data.ByteString.Internal.ByteString instance Data.GenValidity.GenUnchecked Data.ByteString.Lazy.Internal.ByteString instance Data.GenValidity.GenValid Data.ByteString.Lazy.Internal.ByteString