io.github.iltotore.iron.scodec
Implicit Codecs for refined types.
Attributes
-
Source
-
scodec.scala
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
-
Self type
-
Members list
Given instance for refined newtypes. This enables newtypes to work with scodec's derives syntax.
Given instance for refined newtypes. This enables newtypes to work with scodec's derives syntax.
Attributes
-
Source
-
scodec.scala
A Codec for refined types. Encodes from the underlying type and decodes to the underlying type then checks the constraint.
A Codec for refined types. Encodes from the underlying type and decodes to the underlying type then checks the constraint.
Value parameters
-
codec
-
the Codec of the underlying type.
-
constraint
-
the RuntimeConstraint implementation to test the decoded value.
Attributes
-
Inherited from:
-
ScodecLowPriority (hidden)
-
Source
-
scodec.scala