public static void skip(ByteBuffer buffer, int length) {
    buffer.position(buffer.position() + length);
  }
Increment position in buffer.
@param buffer In this buffer.
@param length By that many bytes.
hbase-common/src/main/java/org/apache/hadoop/hbase/util/ByteBufferUtils.java