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 io.netty.buffer.ByteBuf |
decode(io.netty.buffer.ByteBuf src) |
static io.netty.buffer.ByteBuf |
decode(io.netty.buffer.ByteBuf src,
Base64Dialect dialect) |
static io.netty.buffer.ByteBuf |
decode(io.netty.buffer.ByteBuf src,
int off,
int len) |
static io.netty.buffer.ByteBuf |
decode(io.netty.buffer.ByteBuf src,
int off,
int len,
Base64Dialect dialect) |
static io.netty.buffer.ByteBuf |
decode(io.netty.buffer.ByteBuf src,
int off,
int len,
Base64Dialect dialect,
io.netty.buffer.ByteBufAllocator allocator) |
static io.netty.buffer.ByteBuf |
encode(io.netty.buffer.ByteBuf src) |
static io.netty.buffer.ByteBuf |
encode(io.netty.buffer.ByteBuf src,
Base64Dialect dialect) |
static io.netty.buffer.ByteBuf |
encode(io.netty.buffer.ByteBuf src,
boolean breakLines) |
static io.netty.buffer.ByteBuf |
encode(io.netty.buffer.ByteBuf src,
boolean breakLines,
Base64Dialect dialect) |
static io.netty.buffer.ByteBuf |
encode(io.netty.buffer.ByteBuf src,
int off,
int len) |
static io.netty.buffer.ByteBuf |
encode(io.netty.buffer.ByteBuf src,
int off,
int len,
Base64Dialect dialect) |
static io.netty.buffer.ByteBuf |
encode(io.netty.buffer.ByteBuf src,
int off,
int len,
boolean breakLines) |
static io.netty.buffer.ByteBuf |
encode(io.netty.buffer.ByteBuf src,
int off,
int len,
boolean breakLines,
Base64Dialect dialect) |
static io.netty.buffer.ByteBuf |
encode(io.netty.buffer.ByteBuf src,
int off,
int len,
boolean breakLines,
Base64Dialect dialect,
io.netty.buffer.ByteBufAllocator allocator) |
public static io.netty.buffer.ByteBuf encode(io.netty.buffer.ByteBuf src)
public static io.netty.buffer.ByteBuf encode(io.netty.buffer.ByteBuf src, Base64Dialect dialect)
public static io.netty.buffer.ByteBuf encode(io.netty.buffer.ByteBuf src, boolean breakLines)
public static io.netty.buffer.ByteBuf encode(io.netty.buffer.ByteBuf src, boolean breakLines, Base64Dialect dialect)
public static io.netty.buffer.ByteBuf encode(io.netty.buffer.ByteBuf src, int off, int len)
public static io.netty.buffer.ByteBuf encode(io.netty.buffer.ByteBuf src, int off, int len, Base64Dialect dialect)
public static io.netty.buffer.ByteBuf encode(io.netty.buffer.ByteBuf src, int off, int len, boolean breakLines)
public static io.netty.buffer.ByteBuf encode(io.netty.buffer.ByteBuf src, int off, int len, boolean breakLines, Base64Dialect dialect)
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)
public static io.netty.buffer.ByteBuf decode(io.netty.buffer.ByteBuf src)
public static io.netty.buffer.ByteBuf decode(io.netty.buffer.ByteBuf src, Base64Dialect dialect)
public static io.netty.buffer.ByteBuf decode(io.netty.buffer.ByteBuf src, int off, int len)
public static io.netty.buffer.ByteBuf decode(io.netty.buffer.ByteBuf src, int off, int len, Base64Dialect dialect)
public static io.netty.buffer.ByteBuf decode(io.netty.buffer.ByteBuf src, int off, int len, Base64Dialect dialect, io.netty.buffer.ByteBufAllocator allocator)
Copyright © 2008–2019 The Netty Project. All rights reserved.