Package org.apache.drill.exec.util
Class ByteBufUtil
java.lang.Object
org.apache.drill.exec.util.ByteBufUtil
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Modeled afterorg.apache.hadoop.io.WritableUtils
. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
checkBufferLength
(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.
-