public final class Base64 extends Object
ByteBuf 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.
| Modifier and Type | Method and Description |
|---|---|
static ByteBuf |
decode(ByteBuf src) |
static ByteBuf |
decode(ByteBuf src,
Base64Dialect dialect) |
static ByteBuf |
decode(ByteBuf src,
Base64Dialect dialect,
ByteBufFactory bufferFactory) |
static ByteBuf |
decode(ByteBuf src,
ByteBufFactory bufferFactory) |
static ByteBuf |
decode(ByteBuf src,
int off,
int len) |
static ByteBuf |
decode(ByteBuf src,
int off,
int len,
Base64Dialect dialect) |
static ByteBuf |
decode(ByteBuf src,
int off,
int len,
Base64Dialect dialect,
ByteBufFactory bufferFactory) |
static ByteBuf |
decode(ByteBuf src,
int off,
int len,
ByteBufFactory bufferFactory) |
static ByteBuf |
encode(ByteBuf src) |
static ByteBuf |
encode(ByteBuf src,
Base64Dialect dialect) |
static ByteBuf |
encode(ByteBuf src,
Base64Dialect dialect,
ByteBufFactory bufferFactory) |
static ByteBuf |
encode(ByteBuf src,
boolean breakLines) |
static ByteBuf |
encode(ByteBuf src,
boolean breakLines,
Base64Dialect dialect) |
static ByteBuf |
encode(ByteBuf src,
boolean breakLines,
Base64Dialect dialect,
ByteBufFactory bufferFactory) |
static ByteBuf |
encode(ByteBuf src,
boolean breakLines,
ByteBufFactory bufferFactory) |
static ByteBuf |
encode(ByteBuf src,
ByteBufFactory bufferFactory) |
static ByteBuf |
encode(ByteBuf src,
int off,
int len) |
static ByteBuf |
encode(ByteBuf src,
int off,
int len,
Base64Dialect dialect) |
static ByteBuf |
encode(ByteBuf src,
int off,
int len,
Base64Dialect dialect,
ByteBufFactory bufferFactory) |
static ByteBuf |
encode(ByteBuf src,
int off,
int len,
boolean breakLines) |
static ByteBuf |
encode(ByteBuf src,
int off,
int len,
boolean breakLines,
Base64Dialect dialect) |
static ByteBuf |
encode(ByteBuf src,
int off,
int len,
boolean breakLines,
Base64Dialect dialect,
ByteBufFactory bufferFactory) |
static ByteBuf |
encode(ByteBuf src,
int off,
int len,
boolean breakLines,
ByteBufFactory bufferFactory) |
static ByteBuf |
encode(ByteBuf src,
int off,
int len,
ByteBufFactory bufferFactory) |
public static ByteBuf encode(ByteBuf src, Base64Dialect dialect)
public static ByteBuf encode(ByteBuf src, ByteBufFactory bufferFactory)
public static ByteBuf encode(ByteBuf src, Base64Dialect dialect, ByteBufFactory bufferFactory)
public static ByteBuf encode(ByteBuf src, boolean breakLines, Base64Dialect dialect)
public static ByteBuf encode(ByteBuf src, boolean breakLines, ByteBufFactory bufferFactory)
public static ByteBuf encode(ByteBuf src, boolean breakLines, Base64Dialect dialect, ByteBufFactory bufferFactory)
public static ByteBuf encode(ByteBuf src, int off, int len, Base64Dialect dialect)
public static ByteBuf encode(ByteBuf src, int off, int len, ByteBufFactory bufferFactory)
public static ByteBuf encode(ByteBuf src, int off, int len, Base64Dialect dialect, ByteBufFactory bufferFactory)
public static ByteBuf encode(ByteBuf src, int off, int len, boolean breakLines, Base64Dialect dialect)
public static ByteBuf encode(ByteBuf src, int off, int len, boolean breakLines, ByteBufFactory bufferFactory)
public static ByteBuf encode(ByteBuf src, int off, int len, boolean breakLines, Base64Dialect dialect, ByteBufFactory bufferFactory)
public static ByteBuf decode(ByteBuf src, Base64Dialect dialect)
public static ByteBuf decode(ByteBuf src, ByteBufFactory bufferFactory)
public static ByteBuf decode(ByteBuf src, Base64Dialect dialect, ByteBufFactory bufferFactory)
public static ByteBuf decode(ByteBuf src, int off, int len, Base64Dialect dialect)
public static ByteBuf decode(ByteBuf src, int off, int len, ByteBufFactory bufferFactory)
public static ByteBuf decode(ByteBuf src, int off, int len, Base64Dialect dialect, ByteBufFactory bufferFactory)
Copyright © 2008-2012 The Netty Project. All Rights Reserved.