Package com.webmethods.rtl.encode
Class BASE64Encoder
java.lang.Object
com.webmethods.rtl.encode.Encoder
com.webmethods.rtl.encode.BASE64Encoder
-
Nested Class Summary
Nested classes/interfaces inherited from class com.webmethods.rtl.encode.Encoder
Encoder.FixedCharArrayWriter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
SYSTEM_ENCODING
- See Also:
-
encoder
-
-
Constructor Details
-
BASE64Encoder
public BASE64Encoder()
-
-
Method Details
-
encoder
Returns the encoder instance. -
decode
Decodes from the format.- Specified by:
decode
in classEncoder
- Parameters:
src
- Char array to decode.soffset
- Offset in the src array at which to begin reading.length
- Length of src array to decode.writer
- Writer in which to write the decoded chars.- Returns:
- Length of chars written to writer.
- Throws:
IOException
-
encode
Encodes to the format.- Specified by:
encode
in classEncoder
- Parameters:
src
- Char array to encode.soffset
- Offset in the src array at which to begin reading.length
- Length of src array to encode.writer
- Writer in which to write the encoded chars.- Returns:
- Length of chars written to writer.
- Throws:
IOException
-