public ByteBuffer getValueAsByteBuffer(byte[] family, int foffset, int flength, byte[] qualifier,
    int qoffset, int qlength) {

    Cell kv = getColumnLatestCell(family, foffset, flength, qualifier, qoffset, qlength);

    if (kv == null) {
      return null;
    }
    return ByteBuffer.wrap(kv.getValueArray(), kv.getValueOffset(), kv.getValueLength())
      .asReadOnlyBuffer();
  }
Returns the value wrapped in a new <code>ByteBuffer</code>.
@param family    family name
@param foffset   family offset
@param flength   family length
@param qualifier column qualifier
@param qoffset   qualifier offset
@param qlength   qualifier length
@return the latest version of the column, or <code>null</code> if none found
hbase-client/src/main/java/org/apache/hadoop/hbase/client/Result.java