public interface ByteBufConvertible
| Modifier and Type | Method and Description |
|---|---|
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.Copyright © 2008–2025 The Netty Project. All rights reserved.