function decodeUint32(data, offset) {
  return data[offset + 0] | (data[offset + 1] << 8) | (data[offset + 2] << 16) |
      (data[offset + 3] << 24);
}
Gets a uint32 from a byte buffer.
@param {!Uint8Array} data Source buffer.
@param {number} offset Starting offset in the buffer.
@return {number} Uint32 value.