public class Decoder
extends java.lang.Object
Constructor and Description |
---|
Decoder() |
Modifier and Type | Method and 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
java.io.IOException
public byte[] decodeBuffer(java.lang.String inputString) throws java.io.IOException
sun.misc.CEFormatException
- An error has occured while decodingjava.io.IOException
public byte[] decodeBuffer(java.io.InputStream in) throws java.io.IOException
java.io.IOException