hex

fs2.text$.hex$
object hex

Functions for working with base 64.

Attributes

Source
text.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
hex.type

Members list

Value members

Concrete methods

def decode[F[_] : RaiseThrowable]: (F, String) => Byte

Converts a stream of hex text in to a stream of bytes.

Converts a stream of hex text in to a stream of bytes.

If the text is not valid hex, the pipe fails with an exception. There must be an even number of hex digits (nibbles) or the pipe fails with an exception. Whitespace characters are ignored.

The default alphabet is used by this pipe.

Attributes

Source
text.scala
def encode[F[_]]: (F, Byte) => String

Encodes a byte stream in to a stream of hexadecimal text.

Encodes a byte stream in to a stream of hexadecimal text. The default hex alphabet is used by this pipe.

Attributes

Source
text.scala

Like encode but takes a hex alphabet.

Like encode but takes a hex alphabet.

Attributes

Source
text.scala