blob: 75ba6601e36021f1b605c354de668f15e1de875b [file] [log] [blame]
// Copyright 2016 The Goma Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <string>
#include "base64.h"
extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
std::string input(reinterpret_cast<const char*>(data), size);
devtools_goma::Base64UrlEncode(input, true);
devtools_goma::Base64UrlEncode(input, false);
return 0;
}