Class ByteBufUtil

java.lang.Object
org.apache.drill.exec.util.ByteBufUtil

public class ByteBufUtil extends Object
  • Constructor Details

    • ByteBufUtil

      public ByteBufUtil()
  • Method Details

    • checkBufferLength

      public static void checkBufferLength(DrillBuf buffer, int start, int end, int requiredLen)
      Verifies that the the space provided in the buffer is of specified size.
      Throws:
      IllegalArgumentException - if the specified boundaries do not describe the expected size.