public class Base64EncoderAdapter extends Reader
| Constructor and Description |
|---|
Base64EncoderAdapter(InputStream in) |
Base64EncoderAdapter(InputStream in,
int lineMax) |
Base64EncoderAdapter(InputStream in,
int lineMax,
int bufferSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
read(char[] cbuf,
int off,
int len) |
static String |
toBase64(byte[] bytes) |
static String |
toBase64(byte[] bytes,
int linemax) |
public Base64EncoderAdapter(InputStream in)
public Base64EncoderAdapter(InputStream in, int lineMax)
public Base64EncoderAdapter(InputStream in, int lineMax, int bufferSize)
public static String toBase64(byte[] bytes) throws IOException
IOExceptionpublic static String toBase64(byte[] bytes, int linemax) throws IOException
IOExceptionpublic int read(char[] cbuf,
int off,
int len)
throws IOException
read in class ReaderIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class ReaderIOExceptionCopyright © 2025 vpc open source initiative. All rights reserved.