Safe Haskell | None |
---|---|
Language | Haskell2010 |
Data.Validity.ByteString
Contents
Orphan instances
Validity ByteString Source # | A lazy |
Methods validate :: ByteString -> Validation # | |
Validity ShortByteString Source # | Trivially valid My guess is that short bytestrings are not trivially valid but there is no way to access the internals. |
Methods validate :: ShortByteString -> Validation # | |
Validity ByteString Source # | A The offset and the length both need to be positive. Note that the length does not need to be greater than, or equal to, the offset. TODO there's nothing we can do about the foreign pointer, I think? |
Methods validate :: ByteString -> Validation # |