| 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.Lazy.Base16.Lens
Description
This module contains Prism's for Base16-encoding and
decoding lazy ByteString values.
Synopsis
- _Hex :: Prism' ByteString ByteString
- _Base16 :: Prism' ByteString ByteString
- pattern Hex :: ByteString -> ByteString
- pattern Base16 :: ByteString -> ByteString
Prisms
_Hex :: Prism' ByteString ByteString Source #
A Prism' into the Base16 encoding of a lazy ByteString value. This function
is an alias of _Base16.
>>>_Hex # "Sun""53756e"
>>>"53756e" ^? _HexJust "Sun"
_Base16 :: Prism' ByteString ByteString Source #
A Prism' into the Base16 encoding of a ByteString value
>>>_Base16 # "Sun""53756e"
>>>"53756e" ^? _Base16Just "Sun"
Patterns
pattern Hex :: ByteString -> ByteString Source #
Bidirectional pattern synonym for Base16-encoded lazy ByteString values.
pattern Base16 :: ByteString -> ByteString Source #
Bidirectional pattern synonym for Base16-encoded lazy ByteString values.