Readium
Toggle table of contents
androidJvm
Target filter
androidJvm
Switch theme
Search in API
Skip to content
Readium
readium-shared
/
org.readium.r2.shared.util.data
/
decode
decode
suspend
fun
<
R
,
S
>
S
.
decode
(
block
:
(
value
:
S
)
->
R
,
wrapError
:
(
Exception
)
->
Error
)
:
Try
<
R
,
DecodeError
>
Decodes receiver properly wrapping exceptions into
DecodeError
s.