ByteBuf.isDirect

Returns {@code true} if and only if this buffer is backed by an NIO direct buffer.

class ByteBuf
abstract
bool
isDirect
()

Meta