byte getTypeByte(int keyLen) {
    return ByteBufferUtils.toByte(this.buf, this.offset + keyLen - 1 + KeyValue.ROW_OFFSET);
  }
This Cell is an implementation of {@link ByteBufferExtendedCell} where the data resides in off
heap/ on heap ByteBuffer
hbase-common/src/main/java/org/apache/hadoop/hbase/ByteBufferKeyValue.java