public class Base16InputStream extends BaseNCodecInputStream
The default behavior of the Base16InputStream is to DECODE, whereas the default behavior of the
Base16OutputStream
is to ENCODE, but this behavior can be overridden by using a different constructor.
Constructor and Description |
---|
Base16InputStream(java.io.InputStream inputStream)
Creates a Base16InputStream such that all data read is Base16-decoded from the original provided InputStream.
|
Base16InputStream(java.io.InputStream inputStream,
boolean doEncode)
Creates a Base16InputStream such that all data read is either Base16-encoded or Base16-decoded from the original
provided InputStream.
|
Base16InputStream(java.io.InputStream inputStream,
boolean doEncode,
boolean lowerCase)
Creates a Base16InputStream such that all data read is either Base16-encoded or Base16-decoded from the original
provided InputStream.
|
Base16InputStream(java.io.InputStream inputStream,
boolean doEncode,
boolean lowerCase,
CodecPolicy decodingPolicy)
Creates a Base16InputStream such that all data read is either Base16-encoded or Base16-decoded from the original
provided InputStream.
|
available, isStrictDecoding, mark, markSupported, read, read, reset, skip
public Base16InputStream(java.io.InputStream inputStream)
inputStream
- InputStream to wrap.public Base16InputStream(java.io.InputStream inputStream, boolean doEncode)
inputStream
- InputStream to wrap.doEncode
- true if we should encode all data read from us, false if we should decode.public Base16InputStream(java.io.InputStream inputStream, boolean doEncode, boolean lowerCase)
inputStream
- InputStream to wrap.doEncode
- true if we should encode all data read from us, false if we should decode.lowerCase
- if true
then use a lower-case Base16 alphabet.public Base16InputStream(java.io.InputStream inputStream, boolean doEncode, boolean lowerCase, CodecPolicy decodingPolicy)
inputStream
- InputStream to wrap.doEncode
- true if we should encode all data read from us, false if we should decode.lowerCase
- if true
then use a lower-case Base16 alphabet.decodingPolicy
- Decoding policy.Copyright © 2010 - 2023 Adobe. All Rights Reserved