public final class ByteBufUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
byteBuf2Bytes(io.netty.buffer.ByteBuf buf) |
static String |
byteBuf2String(Charset charset,
io.netty.buffer.ByteBuf... bufs) |
static String |
byteBuf2String(Charset charset,
io.netty.buffer.ByteBuf buf) |
static String |
decodeNonOptimized(Charset charset,
io.netty.buffer.ByteBuf... bufs) |
public static String byteBuf2String(Charset charset, io.netty.buffer.ByteBuf buf) throws CharacterCodingException
CharacterCodingExceptionpublic static String decodeNonOptimized(Charset charset, io.netty.buffer.ByteBuf... bufs)
public static String byteBuf2String(Charset charset, io.netty.buffer.ByteBuf... bufs) throws CharacterCodingException
CharacterCodingExceptionpublic static byte[] byteBuf2Bytes(io.netty.buffer.ByteBuf buf)
Copyright © 2016. All Rights Reserved.