public class Decoder
extends java.lang.Object
| Constructor | Description |
|---|---|
Decoder() |
| Modifier and Type | Method | Description |
|---|---|---|
byte[] |
decodeBuffer(java.io.InputStream in) |
Decode the contents of the inputstream into a buffer.
|
void |
decodeBuffer(java.io.InputStream aStream,
java.io.OutputStream bStream) |
Decode the text from the InputStream and write the decoded
octets to the OutputStream.
|
byte[] |
decodeBuffer(java.lang.String inputString) |
Alternate decode interface that takes a String containing the encoded
buffer and returns a byte array containing the data.
|
public void decodeBuffer(java.io.InputStream aStream,
java.io.OutputStream bStream)
throws java.io.IOException
aStream - input streambStream - output streamjava.io.IOException - exceptionpublic byte[] decodeBuffer(java.lang.String inputString)
throws java.io.IOException
inputString - base stringjava.io.IOException - An error has occured while decodingpublic byte[] decodeBuffer(java.io.InputStream in)
throws java.io.IOException
in - input streamjava.io.IOException - An error has occured while decoding