public class ByteBufUtil extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ByteBufUtil.HadoopWritables
Modeled after
org.apache.hadoop.io.WritableUtils . |
Constructor and Description |
---|
ByteBufUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
checkBufferLength(DrillBuf buffer,
int start,
int end,
int requiredLen)
Verifies that the the space provided in the buffer is of specified size.
|
public static void checkBufferLength(DrillBuf buffer, int start, int end, int requiredLen)
IllegalArgumentException
- if the specified boundaries do not describe the expected size.Copyright © 1970 The Apache Software Foundation. All rights reserved.