| Constructor and Description |
|---|
UUEncoder() |
| Modifier and Type | Method and Description |
|---|---|
int |
decode(byte[] data,
int off,
int length,
OutputStream out)
decode the uuencoded byte data writing it to the given output stream
|
int |
decode(String data,
OutputStream out)
decode the UUEncoded String data writing it to the given output stream.
|
int |
encode(byte[] data,
int off,
int length,
OutputStream out)
encode the input data producing a UUEncoded output stream.
|
public int encode(byte[] data,
int off,
int length,
OutputStream out)
throws IOException
encode in interface Encoderdata - The array of byte data.off - The starting offset within the data.length - Length of the data to encode.out - The output stream the encoded data is written to.IOExceptionpublic int decode(byte[] data,
int off,
int length,
OutputStream out)
throws IOException
decode in interface Encoderdata - The array of byte data to decode.off - Starting offset within the array.length - The length of data to encode.out - The output stream used to return the decoded data.IOExceptionpublic int decode(String data, OutputStream out) throws IOException
decode in interface Encoderdata - The String data to decode.out - The output stream to write the decoded data to.IOExceptionCopyright © 2013. All Rights Reserved.