public class BASE64Encoder extends CharacterEncoder
CharacterEncoder
pStream
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, readFully
protected int bytesPerAtom()
bytesPerAtom
in class CharacterEncoder
protected int bytesPerLine()
bytesPerLine
in class CharacterEncoder
protected void encodeAtom(OutputStream outStream, byte[] data, int offset, int len) throws IOException
encodeAtom
in class CharacterEncoder
IOException
Copyright © 2016–2018. All rights reserved.