Class Base64Engine
java.lang.Object
com.adobe.internal.pdftoolkit.core.filter.Base64Engine
Base64Engine
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 ClassesModifier and TypeClassDescriptionstatic classCreate an output stream that writes base64-encoded bytes to the supplied streamstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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[]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
-
Constructor Details
-
Base64Engine
public Base64Engine()
-
-
Method Details
-
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
-