named-codec
0.1.0
named-codec
API
dev.hnaderi.namedcodec
CodecAdapter
EncodedMessage
NamedCodec
NamedCodec
NamedCodecPlatform
NamedCodecPlatform
Builder
NamedDecoder
NamedEncoder
NamedEncoder
TypeName
TypeName
TypeNamePlatform
named-codec
/
dev.hnaderi.namedcodec
/
NamedCodec
NamedCodec
dev.hnaderi.namedcodec.NamedCodec
See the
NamedCodec
companion object
trait
NamedCodec
[
A
,
R
]
extends
NamedEncoder
[
A
,
R
]
with
NamedDecoder
[
A
,
R
]
Attributes
Companion:
object
Source:
NamedCodec.scala
Graph
Reset zoom
Hide graph
Show graph
Supertypes
trait
NamedDecoder
[
A
,
R
]
trait
NamedEncoder
[
A
,
R
]
class
Object
trait
Matchable
class
Any
Self type
NamedCodec
[
A
,
R
]
Clear all
Members list
Concise view
Value members
Concrete methods
final
def
eimap
[
B
](
fcon
:
B
=>
A
)(
fcov
:
A
=>
Either
[
String
,
B
]):
NamedCodec
[
B
,
R
]
Attributes
Source:
NamedCodec.scala
final
def
imap
[
B
](
fcon
:
B
=>
A
)(
fcov
:
A
=>
B
):
NamedCodec
[
B
,
R
]
Attributes
Source:
NamedCodec.scala
Inherited methods
def
canDecode
(
msg
:
String
):
Boolean
Attributes
Inherited from:
NamedDecoder
Source:
NamedCodec.scala
final
def
contramap
[
B
](
f
:
B
=>
A
):
NamedEncoder
[
B
,
R
]
Attributes
Inherited from:
NamedEncoder
Source:
NamedCodec.scala
def
decode
(
msg
:
EncodedMessage
[
R
]):
Either
[
String
,
A
]
Attributes
Inherited from:
NamedDecoder
Source:
NamedCodec.scala
def
encode
(
a
:
A
):
EncodedMessage
[
R
]
Attributes
Inherited from:
NamedEncoder
Source:
NamedCodec.scala
final
def
map
[
B
](
f
:
A
=>
B
):
NamedDecoder
[
B
,
R
]
Attributes
Inherited from:
NamedDecoder
Source:
NamedCodec.scala