public class BASE64Encoder extends CharacterEncoder
CharacterEncoderpStream| Constructor and Description |
|---|
BASE64Encoder() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
bytesPerAtom()
this class encodes three bytes per atom.
|
protected int |
bytesPerLine()
this class encodes 57 bytes per line.
|
protected void |
encodeAtom(OutputStream outStream,
byte[] data,
int offset,
int len)
encodeAtom - Take three bytes of input and encode it as 4
printable characters.
|
encode, encode, encode, encodeBuffer, encodeBuffer, encodeBuffer, encodeBufferPrefix, encodeBufferSuffix, encodeLinePrefix, encodeLineSuffix, readFullyprotected int bytesPerAtom()
bytesPerAtom in class CharacterEncoderprotected int bytesPerLine()
bytesPerLine in class CharacterEncoderprotected void encodeAtom(OutputStream outStream, byte[] data, int offset, int len) throws IOException
encodeAtom in class CharacterEncoderIOExceptionCopyright © 2016–2018. All rights reserved.