Base64

fmgp.util.Base64$package.Base64
object Base64

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Base64.type

Members list

Value members

Concrete methods

Value parameters

str

Base64 URL string TODO: method copyArrayToImmutableIndexedSeq in class LowPriorityImplicits2 is deprecated since 2.13.0: Implicit conversions from Array to immutable.IndexedSeq are implemented by copying; Use the more efficient non-copying ArraySeq.unsafeWrapArray or an explicit toIndexedSeq call

Attributes

Value parameters

str

Base64 URL Byte

Attributes

inline def encode(str: String): Base64
inline def encode(data: Array[Byte]): Base64
inline def encode(data: Vector[Byte]): Base64

Concrete fields

val basicDecoder: Decoder

Base64 basic decoder RFC4648

Base64 basic decoder RFC4648

Attributes

val basicEncoder: Encoder

Base64 basic encoder RFC4648

Base64 basic encoder RFC4648

Attributes

val urlDecoder: Decoder

Base64 url decoder RFC4648

Base64 url decoder RFC4648

Attributes

val urlEncoder: Encoder

Base64 url (without padding) encoder RFC4648

Base64 url (without padding) encoder RFC4648

Attributes

Givens

Givens

given decoder: JsonDecoder[Base64]
given encoder: JsonEncoder[Base64]

Extensions

Extensions

extension (bytes: Base64)
def asObj[T](using jsonDecoder: JsonDecoder[T]): Either[String, Base64Obj[T]]
def decode: Array[Byte]

Decodes this Base64 object to an unsigned big integer.

Decodes this Base64 object to an unsigned big integer.

Attributes

def unsafeAsObj[T](using jsonDecoder: JsonDecoder[T]): Base64Obj[T]

original String Base64 URL (can or not have padding)

original String Base64 URL (can or not have padding)

Attributes