Package io.netty.handler.codec.base64
Class Base64
- java.lang.Object
-
- io.netty.handler.codec.base64.Base64
-
public final class Base64 extends Object
Utility class forByteBufthat 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 io.netty.buffer.ByteBufdecode(io.netty.buffer.ByteBuf src)static io.netty.buffer.ByteBufdecode(io.netty.buffer.ByteBuf src, int off, int len)static io.netty.buffer.ByteBufdecode(io.netty.buffer.ByteBuf src, int off, int len, Base64Dialect dialect)static io.netty.buffer.ByteBufdecode(io.netty.buffer.ByteBuf src, int off, int len, Base64Dialect dialect, io.netty.buffer.ByteBufAllocator allocator)static io.netty.buffer.ByteBufdecode(io.netty.buffer.ByteBuf src, Base64Dialect dialect)static io.netty.buffer.ByteBufencode(io.netty.buffer.ByteBuf src)static io.netty.buffer.ByteBufencode(io.netty.buffer.ByteBuf src, boolean breakLines)static io.netty.buffer.ByteBufencode(io.netty.buffer.ByteBuf src, boolean breakLines, boolean addPadding)static io.netty.buffer.ByteBufencode(io.netty.buffer.ByteBuf src, boolean breakLines, Base64Dialect dialect)static io.netty.buffer.ByteBufencode(io.netty.buffer.ByteBuf src, boolean breakLines, Base64Dialect dialect, boolean addPadding)static io.netty.buffer.ByteBufencode(io.netty.buffer.ByteBuf src, int off, int len)static io.netty.buffer.ByteBufencode(io.netty.buffer.ByteBuf src, int off, int len, boolean breakLines)static io.netty.buffer.ByteBufencode(io.netty.buffer.ByteBuf src, int off, int len, boolean breakLines, Base64Dialect dialect)static io.netty.buffer.ByteBufencode(io.netty.buffer.ByteBuf src, int off, int len, boolean breakLines, Base64Dialect dialect, boolean addPadding)static io.netty.buffer.ByteBufencode(io.netty.buffer.ByteBuf src, int off, int len, boolean breakLines, Base64Dialect dialect, io.netty.buffer.ByteBufAllocator allocator)static io.netty.buffer.ByteBufencode(io.netty.buffer.ByteBuf src, int off, int len, Base64Dialect dialect)static io.netty.buffer.ByteBufencode(io.netty.buffer.ByteBuf src, Base64Dialect dialect)static io.netty.buffer.ByteBufencode(io.netty.buffer.ByteBuf src, Base64Dialect dialect, boolean addPadding)
-
-
-
Method Detail
-
encode
public static io.netty.buffer.ByteBuf encode(io.netty.buffer.ByteBuf src)
-
encode
public static io.netty.buffer.ByteBuf encode(io.netty.buffer.ByteBuf src, Base64Dialect dialect)
-
encode
public static io.netty.buffer.ByteBuf encode(io.netty.buffer.ByteBuf src, Base64Dialect dialect, boolean addPadding)
-
encode
public static io.netty.buffer.ByteBuf encode(io.netty.buffer.ByteBuf src, boolean breakLines)
-
encode
public static io.netty.buffer.ByteBuf encode(io.netty.buffer.ByteBuf src, boolean breakLines, boolean addPadding)
-
encode
public static io.netty.buffer.ByteBuf encode(io.netty.buffer.ByteBuf src, boolean breakLines, Base64Dialect dialect)
-
encode
public static io.netty.buffer.ByteBuf encode(io.netty.buffer.ByteBuf src, boolean breakLines, Base64Dialect dialect, boolean addPadding)
-
encode
public static io.netty.buffer.ByteBuf encode(io.netty.buffer.ByteBuf src, int off, int len)
-
encode
public static io.netty.buffer.ByteBuf encode(io.netty.buffer.ByteBuf src, int off, int len, Base64Dialect dialect)
-
encode
public static io.netty.buffer.ByteBuf encode(io.netty.buffer.ByteBuf src, int off, int len, boolean breakLines)
-
encode
public static io.netty.buffer.ByteBuf encode(io.netty.buffer.ByteBuf src, int off, int len, boolean breakLines, Base64Dialect dialect)
-
encode
public static io.netty.buffer.ByteBuf encode(io.netty.buffer.ByteBuf src, int off, int len, boolean breakLines, Base64Dialect dialect, boolean addPadding)
-
encode
public static io.netty.buffer.ByteBuf encode(io.netty.buffer.ByteBuf src, int off, int len, boolean breakLines, Base64Dialect dialect, io.netty.buffer.ByteBufAllocator allocator)
-
decode
public static io.netty.buffer.ByteBuf decode(io.netty.buffer.ByteBuf src)
-
decode
public static io.netty.buffer.ByteBuf decode(io.netty.buffer.ByteBuf src, Base64Dialect dialect)
-
decode
public static io.netty.buffer.ByteBuf decode(io.netty.buffer.ByteBuf src, int off, int len)
-
decode
public static io.netty.buffer.ByteBuf decode(io.netty.buffer.ByteBuf src, int off, int len, Base64Dialect dialect)
-
decode
public static io.netty.buffer.ByteBuf decode(io.netty.buffer.ByteBuf src, int off, int len, Base64Dialect dialect, io.netty.buffer.ByteBufAllocator allocator)
-
-