private static byte long0(long x) {
    return (byte) x;
  }
Writes a long to this MBB at its current position. Also advances the position by size of long
@param val Long value to write
@return this object
hbase-common/src/main/java/org/apache/hadoop/hbase/nio/MultiByteBuff.java