| Copyright | (c) 2019 Emily Pillmore |
|---|---|
| License | BSD-style |
| Maintainer | Emily Pillmore <emilypi@cohomolo.gy> |
| Stability | Experimental |
| Portability | non-portable |
| Safe Haskell | None |
| Language | Haskell2010 |
Data.ByteString.Base16.Lens
Description
This module contains Prism's for Base16-encoding and
decoding ByteString values.
Synopsis
- _Hex :: Prism' ByteString ByteString
- pattern Hex :: ByteString -> ByteString
Prisms
_Hex :: Prism' ByteString ByteString Source #
A Prism' into the Base16 encoding of a ByteString value
>>>_Hex # "Sun""53756e"
>>>"53756e" ^? _HexJust "Sun"
Patterns
pattern Hex :: ByteString -> ByteString Source #
Bidirectional pattern synonym for Base16-encoded ByteString values.