function getInput(bytes) {
  if (typeof Uint8Array !== 'undefined') {
    return (new Uint8Array(bytes)).buffer;
  }
  return bytes;
}
@param {!Array<number>} bytes The input bytes
@return {!ArrayBuffer|!Array<number>} The input bytes in an ArrayBuffer.
    Falls back to native array if ArrayBuffer is not supported.