Class Base64Engine
- java.lang.Object
-
- com.adobe.internal.pdftoolkit.core.filter.Base64Engine
-
public class Base64Engine extends java.lang.ObjectBase64Engine This class provides Base64 Content-Transfer-Encoding encoding and decoding. See RFC 3548 for details (http://www.ietf.org/rfc/rfc3548.txt?number=3548).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBase64Engine.EncodedOutputStreamCreate an output stream that writes base64-encoded bytes to the supplied streamstatic classBase64Engine.InputEncodeStreamstatic classBase64Engine.OutputDecodeStream
-
Constructor Summary
Constructors Constructor Description Base64Engine()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intdecode(byte[] input, int inOffset, int length, byte[] output, int outOffset)Decode an array of bytes into another array of bytes return the number of output bytes If output is null, just return the output byte countstatic byte[]decode(java.lang.String s)static char[]encode(byte[] input, int inOffset, int length)static intencode(byte[] input, int inOffset, int length, byte[] output, int outOffset)Encode an array of bytes into another array of bytes return the number of output bytes If output is null, just return the output byte count
-
-
-
Method Detail
-
decode
public static int decode(byte[] input, int inOffset, int length, byte[] output, int outOffset)Decode an array of bytes into another array of bytes return the number of output bytes If output is null, just return the output byte count
-
encode
public static int encode(byte[] input, int inOffset, int length, byte[] output, int outOffset)Encode an array of bytes into another array of bytes return the number of output bytes If output is null, just return the output byte count
-
encode
public static char[] encode(byte[] input, int inOffset, int length)
-
decode
public static byte[] decode(java.lang.String s)
-
-