Class UnixChannelUtil


  • public final class UnixChannelUtil
    extends Object
    • Method Detail

      • isBufferCopyNeededForWrite

        public static boolean isBufferCopyNeededForWrite​(Buffer buffer)
        Checks if the specified buffer has memory address or is composed of n(n <= IOV_MAX) NIO direct buffers. (We check this because otherwise we need to make it a new direct buffer.)