japgolly.webapputil.boopickle

Type members

Classlikes

final case class MagicNumber(value: Int)
final case class SafePickler[A](header: Option[MagicNumber], footer: Option[MagicNumber], version: Version, body: Pickler[A])

Binary codec (pickler). Differs from out-of-the-box Pickler in the following ways:

Binary codec (pickler). Differs from out-of-the-box Pickler in the following ways:

  • decoding is pure: an error value is returned on failure
  • supports magic numbers at header and footer as a partial message integrity check
  • supports protocol versioning and evolution
Companion:
object
Companion:
class

Implicits

Inherited implicits

@inline
final implicit def EntrypointDefCodecBoopickleExt[A](self: Codec[A]): EntrypointDefCodecBoopickleExt[A]
Inherited from:
Implicits
@inline
final implicit def implicitEntrypointDefCodecViaBoopickle[A](implicit p: Pickler[A]): Codec[A]
Inherited from:
Implicits