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 static final class Base64.Encoder
- Object
- Base64.Encoder
java.util.Base64.Encoder.Methods
public Base64.Encoder withoutPadding() | The same encoding without the = that fills the last group. |
public byte[] encode(byte[] src) | |
public int encode(byte[] src, byte[] dst) | Encodes into dst, which must be large enough, and answers how many bytes were written. |
public String encodeToString(byte[] src) |
Inherited methods
Method details
withoutPadding
public Base64.Encoder withoutPadding()The same encoding without the
= that fills the last group.encode
public byte[] encode(byte[] src)encode
public int encode(byte[] src, byte[] dst)Encodes into
dst, which must be large enough, and answers how
many bytes were written.encodeToString
public String encodeToString(byte[] src)