Maintainer | John Galt <centromere@users.noreply.github.com> |
---|---|
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
- data ScrubbedBytes :: *
- convert :: (ByteArrayAccess bin, ByteArray bout) => bin -> bout
- append :: ByteArray bs => bs -> bs -> bs
Types
data ScrubbedBytes :: *
ScrubbedBytes is a memory chunk which have the properties of:
- Being scrubbed after its goes out of scope.
- A Show instance that doesn't actually show any content
- A Eq instance that is constant time
Functions
convert :: (ByteArrayAccess bin, ByteArray bout) => bin -> bout
Convert a bytearray to another type of bytearray