fmgp.util

package fmgp.util

Members list

Type members

Classlikes

object Base64

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Base64.type
case class Base64Obj[T](obj: T, original: Option[Base64])

Base64Obj keep the original base64 encoder (useful to preserve data for doing MAC checks)

Base64Obj keep the original base64 encoder (useful to preserve data for doing MAC checks)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object Base64Obj

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Base64Obj.type
sealed abstract class IOR[+L, +R] extends Product, Serializable

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
class Both[L, R]
class Left[L]
class Right[R]
object IOR

Attributes

Companion
class
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
IOR.type

Types

opaque type Base64

Value members

Concrete methods

inline def bytes2Hex(bytes: Array[Byte]): String

bytes to Hex String

bytes to Hex String

Attributes

inline def hex2bytes(hex: String): Array[Byte]
inline def safeValueOf[A](block: => A): Either[String, A]

Use call valueOf of a enum inside of safeValueOf (and ONLY valueOf!)

Use call valueOf of a enum inside of safeValueOf (and ONLY valueOf!)

Use like this!!!

 fmgp.util.safeValueOf(A.valueOf(str))

TODO make this a inline macro of Enum[A]

Attributes