public interface ByteBufConvertible
限定符和类型 | 方法和说明 |
---|---|
ByteBuf |
asByteBuf()
Turn this object into a
ByteBuf . |
ByteBuf asByteBuf()
ByteBuf
.
This does not increment the reference count of the ByteBuf
instance.
The conversion or exposure of the ByteBuf
must be idempotent, so that this method can be called
either once, or multiple times, without causing any change in program behaviour.ByteBuf
instance from this object.