Base64Parsing

Rules for parsing Base-64 encoded strings.

Companion:
object
class Object
trait Matchable
class Any
Parser

Value members

Concrete methods

def base64CustomBlock: Rule1[Array[Byte]]

Parses a org.parboiled2.util.Base64.custom()-encoded string potentially containing newlines and decodes it onto the value stack.

Parses a org.parboiled2.util.Base64.custom()-encoded string potentially containing newlines and decodes it onto the value stack.

def base64CustomString: Rule1[Array[Byte]]

Parses a org.parboiled2.util.Base64.custom()-encoded string and decodes it onto the value stack.

Parses a org.parboiled2.util.Base64.custom()-encoded string and decodes it onto the value stack.

def rfc2045Block: Rule1[Array[Byte]]

Parses an RFC4045-encoded string potentially containing newlines and decodes it onto the value stack.

Parses an RFC4045-encoded string potentially containing newlines and decodes it onto the value stack.

def rfc2045String: Rule1[Array[Byte]]

Parses an RFC4045-encoded string and decodes it onto the value stack.

Parses an RFC4045-encoded string and decodes it onto the value stack.

Deprecated methods

@deprecated("Does not work on padded blocks. Does not work on strings with trailing garbage. Use rfc2045String, rfc2045Block, base64CustomString, or base64CustomBlock instead.", "2.1.7")
def base64StringOrBlock(alphabet: CharPredicate, decoder: Decoder): Rule1[Array[Byte]]

Parses a BASE64-encoded string with the given alphabet and decodes it onto the value stack using the given codec.

Parses a BASE64-encoded string with the given alphabet and decodes it onto the value stack using the given codec.

Deprecated