public static byte[] readByteArrayThrowsRuntime(final DataInput in) {
    try {
      return readByteArray(in);
    } catch (Exception e) {
      throw new RuntimeException(e);
    }
  }
Read byte-array written with a WritableableUtils.vint prefix. IOException is converted to a
RuntimeException.
@param in Input to read from.
@return byte array read off <code>in</code>
hbase-common/src/main/java/org/apache/hadoop/hbase/util/Bytes.java