Class AndroidBase64Encoder
java.lang.Object
org.jivesoftware.smack.util.stringencoder.android.AndroidBase64Encoder
- All Implemented Interfaces:
org.jivesoftware.smack.util.stringencoder.Base64.Encoder
public final class AndroidBase64Encoder
extends Object
implements org.jivesoftware.smack.util.stringencoder.Base64.Encoder
A Base 64 encoding implementation based on android.util.Base64.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbyte[]byte[]encode(byte[] input) encodeToString(byte[] input) encodeToStringWithoutPadding(byte[] input)
-
Field Details
-
INSTANCE
An instance of this encoder.
-
-
Method Details
-
decode
- Specified by:
decodein interfaceorg.jivesoftware.smack.util.stringencoder.Base64.Encoder
-
encodeToString
- Specified by:
encodeToStringin interfaceorg.jivesoftware.smack.util.stringencoder.Base64.Encoder
-
encodeToStringWithoutPadding
- Specified by:
encodeToStringWithoutPaddingin interfaceorg.jivesoftware.smack.util.stringencoder.Base64.Encoder
-
encode
public byte[] encode(byte[] input) - Specified by:
encodein interfaceorg.jivesoftware.smack.util.stringencoder.Base64.Encoder
-