Package org.apache.drill.exec.util
Class ByteBufUtil
java.lang.Object
org.apache.drill.exec.util.ByteBufUtil
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classModeled afterorg.apache.hadoop.io.WritableUtils. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheckBufferLength(DrillBuf buffer, int start, int end, int requiredLen) Verifies that the the space provided in the buffer is of specified size.
-
Constructor Details
-
ByteBufUtil
public ByteBufUtil()
-
-
Method Details
-
checkBufferLength
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.
-