Package io.netty.buffer
Interface ByteBufConvertible
- All Known Implementing Classes:
AbstractByteBuf
,AbstractDerivedByteBuf
,AbstractPooledDerivedByteBuf
,AbstractPooledDerivedByteBuf.PooledNonRetainedDuplicateByteBuf
,AbstractPooledDerivedByteBuf.PooledNonRetainedSlicedByteBuf
,AbstractReferenceCountedByteBuf
,AbstractUnpooledSlicedByteBuf
,AbstractUnsafeSwappedByteBuf
,AdvancedLeakAwareByteBuf
,AdvancedLeakAwareCompositeByteBuf
,ByteBuf
,ByteBufUtil.ThreadLocalDirectByteBuf
,ByteBufUtil.ThreadLocalUnsafeDirectByteBuf
,CompositeByteBuf
,DuplicatedByteBuf
,EmptyByteBuf
,FixedCompositeByteBuf
,FixedCompositeByteBuf.Component
,PooledByteBuf
,PooledDirectByteBuf
,PooledDuplicatedByteBuf
,PooledHeapByteBuf
,PooledSlicedByteBuf
,PooledUnsafeDirectByteBuf
,PooledUnsafeHeapByteBuf
,ReadOnlyByteBuf
,ReadOnlyByteBufferBuf
,ReadOnlyUnsafeDirectByteBuf
,ReplayingDecoderByteBuf
,SimpleLeakAwareByteBuf
,SimpleLeakAwareCompositeByteBuf
,SlicedByteBuf
,SwappedByteBuf
,UnpooledByteBufAllocator.InstrumentedUnpooledDirectByteBuf
,UnpooledByteBufAllocator.InstrumentedUnpooledHeapByteBuf
,UnpooledByteBufAllocator.InstrumentedUnpooledUnsafeDirectByteBuf
,UnpooledByteBufAllocator.InstrumentedUnpooledUnsafeHeapByteBuf
,UnpooledByteBufAllocator.InstrumentedUnpooledUnsafeNoCleanerDirectByteBuf
,UnpooledDirectByteBuf
,UnpooledDuplicatedByteBuf
,UnpooledHeapByteBuf
,UnpooledSlicedByteBuf
,UnpooledUnsafeDirectByteBuf
,UnpooledUnsafeHeapByteBuf
,UnpooledUnsafeNoCleanerDirectByteBuf
,UnreleasableByteBuf
,UnsafeDirectSwappedByteBuf
,UnsafeHeapSwappedByteBuf
,WrappedByteBuf
,WrappedCompositeByteBuf
,WrappedUnpooledUnsafeDirectByteBuf
public interface ByteBufConvertible
-
Method Summary
-
Method Details
-
asByteBuf
ByteBuf asByteBuf()Turn this object into aByteBuf
. This does not increment the reference count of theByteBuf
instance. The conversion or exposure of theByteBuf
must be idempotent, so that this method can be called either once, or multiple times, without causing any change in program behaviour.- Returns:
- A
ByteBuf
instance from this object.
-