Client and backend. This class is shared: the same code is compiled into your app and into your server, so everything on this page works in both.

public final class Base64

  1. Object
  2. Base64
java.util.Base64: the basic, URL-safe and MIME encodings of RFC 4648 and RFC 2045, by the JDK’s rules for padding and for what a decoder refuses.

Nested types

class Base64.Encoderjava.util.Base64.Encoder.
class Base64.Decoderjava.util.Base64.Decoder.

Methods

public static Base64.Encoder getEncoder()
public static Base64.Encoder getUrlEncoder()
public static Base64.Encoder getMimeEncoder()
public static Base64.Encoder getMimeEncoder(int lineLength, byte[] lineSeparator)
public static Base64.Decoder getDecoder()
public static Base64.Decoder getUrlDecoder()
public static Base64.Decoder getMimeDecoder()

Inherited methods

Method details

getEncoder

public static Base64.Encoder getEncoder()

getUrlEncoder

public static Base64.Encoder getUrlEncoder()

getMimeEncoder

public static Base64.Encoder getMimeEncoder()

getMimeEncoder

public static Base64.Encoder getMimeEncoder(int lineLength, byte[] lineSeparator)

getDecoder

public static Base64.Decoder getDecoder()

getUrlDecoder

public static Base64.Decoder getUrlDecoder()

getMimeDecoder

public static Base64.Decoder getMimeDecoder()