- java.lang.Object
-
- io.netty5.handler.codec.base64.Base64
-
public final class Base64 extends Object
Utility class forBufferthat 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 Bufferdecode(Buffer src)static Bufferdecode(Buffer src, int off, int len)static Bufferdecode(Buffer src, int off, int len, Base64Dialect dialect)static Bufferdecode(Buffer src, int off, int len, Base64Dialect dialect, BufferAllocator allocator)static Bufferdecode(Buffer src, Base64Dialect dialect)static Bufferencode(Buffer src)static Bufferencode(Buffer src, boolean breakLines)static Bufferencode(Buffer src, boolean breakLines, Base64Dialect dialect)static Bufferencode(Buffer src, int off, int len)static Bufferencode(Buffer src, int off, int len, boolean breakLines)static Bufferencode(Buffer src, int off, int len, boolean breakLines, Base64Dialect dialect)static Bufferencode(Buffer src, int off, int len, boolean breakLines, Base64Dialect dialect, BufferAllocator allocator)static Bufferencode(Buffer src, int off, int len, Base64Dialect dialect)static Bufferencode(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)
-
-