- java.lang.Object
-
- io.netty5.handler.codec.base64.Base64
-
public final class Base64 extends Object
Utility class forBuffer
that encodes and decodes to and from Base64 notation.The encoding and decoding algorithm in this class has been derived from Robert Harder's Public Domain Base64 Encoder/Decoder.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Buffer
decode(Buffer src)
static Buffer
decode(Buffer src, int off, int len)
static Buffer
decode(Buffer src, int off, int len, Base64Dialect dialect)
static Buffer
decode(Buffer src, int off, int len, Base64Dialect dialect, BufferAllocator allocator)
static Buffer
decode(Buffer src, Base64Dialect dialect)
static Buffer
encode(Buffer src)
static Buffer
encode(Buffer src, boolean breakLines)
static Buffer
encode(Buffer src, boolean breakLines, Base64Dialect dialect)
static Buffer
encode(Buffer src, int off, int len)
static Buffer
encode(Buffer src, int off, int len, boolean breakLines)
static Buffer
encode(Buffer src, int off, int len, boolean breakLines, Base64Dialect dialect)
static Buffer
encode(Buffer src, int off, int len, boolean breakLines, Base64Dialect dialect, BufferAllocator allocator)
static Buffer
encode(Buffer src, int off, int len, Base64Dialect dialect)
static Buffer
encode(Buffer src, Base64Dialect dialect)
-
-
-
Method Detail
-
encode
public static Buffer encode(Buffer src, Base64Dialect dialect)
-
encode
public static Buffer encode(Buffer src, boolean breakLines, Base64Dialect dialect)
-
encode
public static Buffer encode(Buffer src, int off, int len, Base64Dialect dialect)
-
encode
public static Buffer encode(Buffer src, int off, int len, boolean breakLines, Base64Dialect dialect)
-
encode
public static Buffer encode(Buffer src, int off, int len, boolean breakLines, Base64Dialect dialect, BufferAllocator allocator)
-
decode
public static Buffer decode(Buffer src, Base64Dialect dialect)
-
decode
public static Buffer decode(Buffer src, int off, int len, Base64Dialect dialect)
-
decode
public static Buffer decode(Buffer src, int off, int len, Base64Dialect dialect, BufferAllocator allocator)
-
-