public static int writeVLongToByteArray(byte[] bytes, long l) {
    return LazyBinaryUtils.writeVLongToByteArray(bytes, 0, l);
  }
Write a zero-compressed encoded long to a byte array.

@param bytes
         the byte array/stream
@param l
         the long
serde/src/java/org/apache/hadoop/hive/serde2/lazybinary/LazyBinaryUtils.java