public class Base16OutputStream extends BaseNCodecOutputStream
The default behavior of the Base16OutputStream is to ENCODE, whereas the default behavior of the
Base16InputStream is to DECODE. But this behavior can be overridden by using a different constructor.
| Constructor and Description |
|---|
Base16OutputStream(java.io.OutputStream outputStream)
Constructs a Base16OutputStream such that all data written is Base16-encoded to the original provided OutputStream.
|
Base16OutputStream(java.io.OutputStream outputStream,
boolean doEncode)
Constructs a Base16OutputStream such that all data written is either Base16-encoded or Base16-decoded to the
original provided OutputStream.
|
Base16OutputStream(java.io.OutputStream outputStream,
boolean doEncode,
boolean lowerCase)
Constructs a Base16OutputStream such that all data written is either Base16-encoded or Base16-decoded to the
original provided OutputStream.
|
Base16OutputStream(java.io.OutputStream outputStream,
boolean doEncode,
boolean lowerCase,
CodecPolicy decodingPolicy)
Constructs a Base16OutputStream such that all data written is either Base16-encoded or Base16-decoded to the
original provided OutputStream.
|
close, eof, flush, isStrictDecoding, write, writepublic Base16OutputStream(java.io.OutputStream outputStream)
outputStream - OutputStream to wrap.public Base16OutputStream(java.io.OutputStream outputStream,
boolean doEncode)
outputStream - OutputStream to wrap.doEncode - true if we should encode all data written to us, false if we should decode.public Base16OutputStream(java.io.OutputStream outputStream,
boolean doEncode,
boolean lowerCase)
outputStream - OutputStream to wrap.doEncode - true if we should encode all data written to us, false if we should decode.lowerCase - if true then use a lower-case Base16 alphabet.public Base16OutputStream(java.io.OutputStream outputStream,
boolean doEncode,
boolean lowerCase,
CodecPolicy decodingPolicy)
outputStream - OutputStream to wrap.doEncode - true if we should encode all data written to us, false if we should decode.lowerCase - if true then use a lower-case Base16 alphabet.decodingPolicy - Decoding policy.Copyright © 2010 - 2025 Adobe. All Rights Reserved