memory-0.15.0: memory and related abstraction stuff
LicenseBSD-style
MaintainerVincent Hanquez <vincent@snarc.org>
StabilityStable
PortabilityGHC
Safe HaskellNone
LanguageHaskell2010

Data.ByteArray.ScrubbedBytes

Description

 
Synopsis

Documentation

data ScrubbedBytes Source #

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

Instances

Instances details
Eq ScrubbedBytes Source # 
Instance details

Defined in Data.ByteArray.ScrubbedBytes

Ord ScrubbedBytes Source # 
Instance details

Defined in Data.ByteArray.ScrubbedBytes

Show ScrubbedBytes Source # 
Instance details

Defined in Data.ByteArray.ScrubbedBytes

IsString ScrubbedBytes Source # 
Instance details

Defined in Data.ByteArray.ScrubbedBytes

Semigroup ScrubbedBytes Source # 
Instance details

Defined in Data.ByteArray.ScrubbedBytes

Monoid ScrubbedBytes Source # 
Instance details

Defined in Data.ByteArray.ScrubbedBytes

NormalForm ScrubbedBytes Source # 
Instance details

Defined in Data.ByteArray.ScrubbedBytes

NFData ScrubbedBytes Source # 
Instance details

Defined in Data.ByteArray.ScrubbedBytes

Methods

rnf :: ScrubbedBytes -> () Source #

ByteArray ScrubbedBytes Source # 
Instance details

Defined in Data.ByteArray.ScrubbedBytes

Methods

allocRet :: Int -> (Ptr p -> IO a) -> IO (a, ScrubbedBytes) Source #

ByteArrayAccess ScrubbedBytes Source # 
Instance details

Defined in Data.ByteArray.ScrubbedBytes