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 Encoder
data
- 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.IOException
public int decode(byte[] data, int off, int length, OutputStream out) throws IOException
decode
in interface Encoder
data
- 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.IOException
public int decode(String data, OutputStream out) throws IOException
decode
in interface Encoder
data
- The String data to decode.out
- The output stream to write the decoded data to.IOException
Copyright © 2013. All rights reserved.